From 2ab2e34784b4eb5c7bde92f5778289a37a701131 Mon Sep 17 00:00:00 2001 From: Vignesh Date: Tue, 9 Jan 2024 14:44:38 +0530 Subject: [PATCH] merge master branch fixes --- src/sdk/base/EtherspotWalletAPI.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sdk/base/EtherspotWalletAPI.ts b/src/sdk/base/EtherspotWalletAPI.ts index 7f90e9c6..5a57396c 100644 --- a/src/sdk/base/EtherspotWalletAPI.ts +++ b/src/sdk/base/EtherspotWalletAPI.ts @@ -50,7 +50,7 @@ export class EtherspotWalletAPI extends BaseAccountAPI { async checkAccountAddress(address: string): Promise { const accountContract = EtherspotWallet__factory.connect(address, this.provider); - if (!(await accountContract.isOwner(this.services.walletService.walletAddress))) { + if (!(await accountContract.isOwner(this.services.walletService.EOAAddress))) { throw new Error('the specified accountAddress does not belong to the given EOA provider') } else {