Skip to content

Commit 9cb6155

Browse files
Merge pull request #2031 from Web3Auth/fix/send-aa-config-undefined
check aaProvider when sending aaConfig to wallet-service
2 parents 02ba0ce + 8294a2d commit 9cb6155

File tree

1 file changed

+1
-1
lines changed
  • packages/plugins/wallet-services-plugin/src

1 file changed

+1
-1
lines changed

packages/plugins/wallet-services-plugin/src/plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export class WalletServicesPlugin extends SafeEventEmitter implements IPlugin {
100100
if (!connectedChainConfig.tickerName) throw WalletServicesPluginError.invalidParams("tickerName is required in chainConfig");
101101

102102
const enableAccountAbstraction =
103-
web3auth.coreOptions.useAAWithExternalWallet &&
103+
web3auth.coreOptions.accountAbstractionProvider &&
104104
(web3auth.connectedAdapterName === WALLET_ADAPTERS.AUTH ||
105105
(web3auth.connectedAdapterName !== WALLET_ADAPTERS.AUTH && web3auth.coreOptions.useAAWithExternalWallet));
106106

0 commit comments

Comments
 (0)