Skip to content

Commit

Permalink
Fix query
Browse files Browse the repository at this point in the history
  • Loading branch information
2opremio committed Jun 10, 2024
1 parent b3f414c commit daf4ca8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/soroban-rpc/internal/db/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ func GetMetaBool(ctx context.Context, q db.SessionInterface, key string) (bool,
}

func SetMetaBool(ctx context.Context, q db.SessionInterface, key string) error {
_, err := sq.Replace(metaTableName).
Values(latestLedgerSequenceMetaKey, "true").
Exec()
query := sq.Replace(metaTableName).
Values(key, "true")
_, err := q.Exec(ctx, query)
return err
}

Expand Down

0 comments on commit daf4ca8

Please sign in to comment.