Skip to content

Commit

Permalink
TestWallet_DeployContract added wait for block
Browse files Browse the repository at this point in the history
  • Loading branch information
xssnick committed Mar 21, 2024
1 parent 29f4d40 commit d172e43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ton/wallet/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ func TestWallet_DeployContract(t *testing.T) {
}
t.Logf("contract address: %s", addr.String())

res, err := api.RunGetMethod(ctx, block, addr, "dappka", 5, 10)
res, err := api.WaitForBlock(block.SeqNo+1).RunGetMethod(ctx, block, addr, "dappka", 5, 10)
if err != nil {
t.Fatal("run err:", err)
}
Expand Down

0 comments on commit d172e43

Please sign in to comment.