Skip to content

Commit

Permalink
chore: spend_test should use WaitForTransactionUntilHeight() to check…
Browse files Browse the repository at this point in the history
… for transaction parsing issues
  • Loading branch information
randomshinichi committed Jul 24, 2019
1 parent c66c1ee commit ce86e49
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion integration_test/spend_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,12 @@ func TestSpendTx(t *testing.T) {
tx.Fee = *est

// sign the transaction, output params for debugging
_ = signBroadcast(t, &tx, alice, node)
hash := signBroadcast(t, &tx, alice, node)
// check the recipient's balance

// Wait for a bit
_, _, _ = waitForTransaction(node, hash)

getBobsAccount := func() {
bobState, err = node.GetAccount(bob.Address)
if err != nil {
Expand Down

0 comments on commit ce86e49

Please sign in to comment.