From 57d4ba8b49999fe92467f75ea13b5afe41494993 Mon Sep 17 00:00:00 2001 From: Dmitry <98899785+mdqst@users.noreply.github.com> Date: Fri, 24 Jan 2025 09:31:29 +0300 Subject: [PATCH] fix: fix send() and wait() behavior in transaction handling Fix send() and wait() behavior in transaction handling --- scripts/deploy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/deploy.ts b/scripts/deploy.ts index 5736705..394cf09 100644 --- a/scripts/deploy.ts +++ b/scripts/deploy.ts @@ -29,7 +29,7 @@ async function main() { let schnorrAccount = await getSchnorrAccount(pxe, secretKey, deriveSigningKey(secretKey), salt); const { address, publicKeys, partialAddress } = schnorrAccount.getCompleteAddress(); - let tx = await schnorrAccount.deploy().wait(); + let tx = await schnorrAccount.deploy().send().wait(); let wallet = await schnorrAccount.getWallet(); const votingContract = await EasyPrivateVotingContract.deploy(wallet, address).send().deployed();