From 9977c9f66a7007dcc1963128c88c584b6b6c064b Mon Sep 17 00:00:00 2001 From: Richard Moore Date: Tue, 6 Aug 2019 18:05:44 -0400 Subject: [PATCH] Fix bug in --wait for CLI. --- packages/cli/src.ts/cli.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/src.ts/cli.ts b/packages/cli/src.ts/cli.ts index 20e5192b4..e4d022a7e 100644 --- a/packages/cli/src.ts/cli.ts +++ b/packages/cli/src.ts/cli.ts @@ -253,7 +253,7 @@ class WrappedSigner extends ethers.Signer { if (this.plugin.wait) { try { - let receipt = await tx.wait(); + let receipt = await response.wait(); dump("Success:", { "Block Number": receipt.blockNumber, "Block Hash": receipt.blockHash,