Fix bug in --wait for CLI.
This commit is contained in:
parent
7dfef463f8
commit
9977c9f66a
@ -253,7 +253,7 @@ class WrappedSigner extends ethers.Signer {
|
|||||||
|
|
||||||
if (this.plugin.wait) {
|
if (this.plugin.wait) {
|
||||||
try {
|
try {
|
||||||
let receipt = await tx.wait();
|
let receipt = await response.wait();
|
||||||
dump("Success:", {
|
dump("Success:", {
|
||||||
"Block Number": receipt.blockNumber,
|
"Block Number": receipt.blockNumber,
|
||||||
"Block Hash": receipt.blockHash,
|
"Block Hash": receipt.blockHash,
|
||||||
|
Loading…
Reference in New Issue
Block a user