fix await

This commit is contained in:
poma 2021-02-17 08:39:50 +03:00
parent bc0b369095
commit af65d78be9
No known key found for this signature in database
GPG Key ID: BA20CB01FE165657
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ class Transaction {
try {
await this._prepare()
await this._send()
const receipt = this._waitForConfirmations()
const receipt = await this._waitForConfirmations()
// we could have bumped nonce during execution, so get the latest one + 1
this.manager._nonce = this.tx.nonce + 1
return receipt