Skip to content

Commit

Permalink
[Wallet] Fix getSmartWalletAddress util function (#1851)
Browse files Browse the repository at this point in the history
  • Loading branch information
joaquim-verges committed Oct 26, 2023
1 parent 6028a88 commit 5917e62
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/modern-panthers-grow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@thirdweb-dev/wallets": patch
---

Fix getSmartWalletAddress util function
1 change: 1 addition & 0 deletions packages/wallets/src/evm/connectors/smart-wallet/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ export async function getSmartWalletAddress(
const factoryContract = await readOnlySDK.getContract(factoryAddress);
const accountAddress = await factoryContract.call("getAddress", [
personalWalletAddress,
"0x",
]);
return accountAddress;
}

0 comments on commit 5917e62

Please sign in to comment.