Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
psheth9 committed Feb 8, 2024
1 parent f935e33 commit ba70380
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/soroban-rpc/internal/transactions/transactions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ func expectedTransaction(t *testing.T, ledger uint32, feeBump bool) Transaction
FeeBump: feeBump,
ApplicationOrder: 1,
Ledger: expectedLedgerInfo(ledger),
Events: [][]byte{},
}
var err error
tx.Result, err = transactionResult(ledger, feeBump).MarshalBinary()
Expand Down Expand Up @@ -359,7 +360,7 @@ func TestGetTransactionsWithEventData(t *testing.T) {
tx, ok, _ := store.GetTransaction(txHash(1, false))
require.True(t, ok)
require.NotNil(t, tx.Events)
require.Len(t, len(tx.Events), 1)
require.Len(t, tx.Events, 1)
}

func stableHeapInUse() int64 {
Expand Down

0 comments on commit ba70380

Please sign in to comment.