From a9cbe022ea382b0b419479ba8b226a256d30ced7 Mon Sep 17 00:00:00 2001 From: yuetloo Date: Thu, 18 Jan 2024 00:25:25 -0500 Subject: [PATCH] fix signer address --- contracts/cli/addContributors.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/cli/addContributors.ts b/contracts/cli/addContributors.ts index fe4678fdf..3df0a435b 100644 --- a/contracts/cli/addContributors.ts +++ b/contracts/cli/addContributors.ts @@ -32,7 +32,7 @@ async function main(args: any) { const users = [contributor1, contributor2] let addUserTx for (const account of users) { - addUserTx = await userRegistry.addUser(account.getAddress()) + addUserTx = await userRegistry.addUser(account.address) addUserTx.wait() }