Skip to content

Commit bea82ef

Browse files
authored
Merge pull request #131 from mdqst/patch-1
fix: missing `await` in `accountManager.getAddress()` call
2 parents 8c9ef37 + 820220d commit bea82ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/profile_deploy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ async function main() {
1919

2020
let accountManager = await deploySchnorrAccount(pxe);
2121
const wallet = await accountManager.getWallet();
22-
const address = accountManager.getAddress();
22+
const address = await accountManager.getAddress();
2323

2424
const profileTx = await EasyPrivateVotingContract.deploy(wallet, address).profile({ profileMode: "full"});
2525
console.dir(profileTx, { depth: 2 });
2626
}
2727

28-
main();
28+
main();

0 commit comments

Comments
 (0)