Skip to content

Commit

Permalink
merge master branch fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
vignesha22 committed Jan 9, 2024
1 parent 6a27ee6 commit 2ab2e34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sdk/base/EtherspotWalletAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class EtherspotWalletAPI extends BaseAccountAPI {

async checkAccountAddress(address: string): Promise<void> {
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 {
Expand Down

0 comments on commit 2ab2e34

Please sign in to comment.