diff --git a/packages/ethers/src/client.ts b/packages/ethers/src/client.ts index 7381e9d26b..c89abb79a4 100644 --- a/packages/ethers/src/client.ts +++ b/packages/ethers/src/client.ts @@ -508,7 +508,7 @@ export class Web3Modal extends Web3ModalScaffold { this.checkActive6963Provider() } - this.setEIP6963Enabled(ethersConfig.EIP6963 !== false) + this.setEIP6963Enabled(ethersConfig.EIP6963) if (ethersConfig.injected) { this.checkActiveInjectedProvider(ethersConfig) diff --git a/packages/ethers5/src/client.ts b/packages/ethers5/src/client.ts index 67ce9009cc..eb20786058 100644 --- a/packages/ethers5/src/client.ts +++ b/packages/ethers5/src/client.ts @@ -394,7 +394,7 @@ export class Web3Modal extends Web3ModalScaffold { this.checkActive6963Provider() } - this.setEIP6963Enabled(ethersConfig.EIP6963 !== false) + this.setEIP6963Enabled(ethersConfig.EIP6963) } // -- Public ------------------------------------------------------------------