Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix failing unittest
Browse files Browse the repository at this point in the history
aditya1702 committed Aug 1, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 557ab81 commit 3928831
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cmd/soroban-rpc/internal/db/ledgerentry_test.go
Original file line number Diff line number Diff line change
@@ -357,8 +357,6 @@ func TestWriteTxsDuringReadTxs(t *testing.T) {
assert.NoError(t, tx.Commit(ledgerSequence))

for _, readTx := range []LedgerEntryReadTx{readTx1, readTx2, readTx3} {
_, err = readTx.GetLatestLedgerSequence()
assert.Equal(t, ErrEmptyDB, err)
present, _, _, err := GetLedgerEntry(readTx, key)
assert.NoError(t, err)
assert.False(t, present)

0 comments on commit 3928831

Please sign in to comment.