Skip to content

Commit

Permalink
fix: Dont disconnect when skipSignInAccessKey.
Browse files Browse the repository at this point in the history
  • Loading branch information
paouvrard committed Oct 25, 2024
1 parent c2e438b commit f5249d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ethereum-wallets/src/lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ const EthereumWallets: WalletBehaviourFactory<
options.network.networkId,
devMode ? address + "." + devModeAccount : address
);
if (!keyPair) {
if (!keyPair && !skipSignInAccessKey) {
try {
wagmiCore!.disconnect(wagmiConfig);
} catch (error) {
Expand Down

0 comments on commit f5249d7

Please sign in to comment.