Skip to content

Commit

Permalink
Fix failing unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
aditya1702 committed Aug 1, 2024
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
Expand Up @@ -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)
Expand Down

0 comments on commit 3928831

Please sign in to comment.