Skip to content

Commit

Permalink
Fix off-by-one in log printout
Browse files Browse the repository at this point in the history
  • Loading branch information
2opremio committed Aug 8, 2023
1 parent 3c43a00 commit f018073
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/soroban-rpc/internal/test/simulate_transaction_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,6 @@ func TestSimulateTransactionWithoutInvokeHostFunction(t *testing.T) {
}

func TestSimulateTransactionUnmarshalError(t *testing.T) {

test := NewTest(t)

ch := jhttp.NewChannel(test.sorobanRPCURL(), nil)
Expand Down Expand Up @@ -780,7 +779,7 @@ func TestSimulateTransactionBumpAndRestoreFootprint(t *testing.T) {
break
}
assert.NoError(t, xdr.SafeUnmarshalBase64(result.XDR, &entry))
fmt.Println("waiting for ledger entry to expire at ledger", entry.MustContractData().ExpirationLedgerSeq)
fmt.Println("waiting for ledger entry to expire at ledger", entry.MustContractData().ExpirationLedgerSeq+1)
time.Sleep(time.Second)
}
require.True(t, expired)
Expand Down

0 comments on commit f018073

Please sign in to comment.