Skip to content

Commit

Permalink
waiter
Browse files Browse the repository at this point in the history
  • Loading branch information
gobicycle committed Sep 26, 2024
1 parent 2347d85 commit 9dbbf0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions blockchain/blockchain.go
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ func (c *Connection) getContract(ctx context.Context, addr *address.Address) (co
if err != nil {
return contract{}, err
}
account, err := c.GetAccount(ctx, block, addr)
account, err := c.WaitForBlock(block.SeqNo).GetAccount(ctx, block, addr)
if err != nil {
return contract{}, err
}
Expand Down Expand Up @@ -433,7 +433,7 @@ func (c *Connection) GetAccountCurrentState(ctx context.Context, address *addres
if err != nil {
return nil, "", err
}
account, err := c.GetAccount(ctx, masterID, address)
account, err := c.WaitForBlock(masterID.SeqNo).GetAccount(ctx, masterID, address)
if err != nil {
return nil, "", err
}
Expand Down

0 comments on commit 9dbbf0e

Please sign in to comment.