Skip to content

Commit

Permalink
fix: don't panic on Invalid tx
Browse files Browse the repository at this point in the history
  • Loading branch information
davidyuk committed Jun 8, 2021
1 parent 078f642 commit 06b545a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions aeternity/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ func (c *Context) SignBroadcast(tx transactions.Transaction, blocks uint64) (txR
// mined.
func (c *Context) SignBroadcastWait(tx transactions.Transaction, blocks uint64) (txReceipt *TxReceipt, err error) {
txReceipt, err = c.SignBroadcast(tx, blocks)
if err != nil {
return
}
err = WaitSynchronous(txReceipt, blocks, c.txSender)
return
}
Expand Down

0 comments on commit 06b545a

Please sign in to comment.