Skip to content

Commit

Permalink
Merge pull request #2031 from Web3Auth/fix/send-aa-config-undefined
Browse files Browse the repository at this point in the history
check aaProvider when sending aaConfig to wallet-service
  • Loading branch information
chaitanyapotti authored Dec 6, 2024
2 parents 02ba0ce + 8294a2d commit 9cb6155
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugins/wallet-services-plugin/src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export class WalletServicesPlugin extends SafeEventEmitter implements IPlugin {
if (!connectedChainConfig.tickerName) throw WalletServicesPluginError.invalidParams("tickerName is required in chainConfig");

const enableAccountAbstraction =
web3auth.coreOptions.useAAWithExternalWallet &&
web3auth.coreOptions.accountAbstractionProvider &&
(web3auth.connectedAdapterName === WALLET_ADAPTERS.AUTH ||
(web3auth.connectedAdapterName !== WALLET_ADAPTERS.AUTH && web3auth.coreOptions.useAAWithExternalWallet));

Expand Down

0 comments on commit 9cb6155

Please sign in to comment.