From 4059778b56a5fa5457068421382272fa17dea35e Mon Sep 17 00:00:00 2001 From: Gancho Radkov Date: Tue, 30 Apr 2024 13:26:32 +0300 Subject: [PATCH] chore: rm optional method --- src/controllers/engine.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/engine.ts b/src/controllers/engine.ts index 529ab6b..87a9f87 100644 --- a/src/controllers/engine.ts +++ b/src/controllers/engine.ts @@ -68,7 +68,7 @@ export class Engine extends ISingleEthereumEngine { chains: approvedChains.map((chain) => prefixChainWithNamespace(chain)), methods: normalizedRequired[EVM_IDENTIFIER]?.methods?.length ? normalizedRequired[EVM_IDENTIFIER].methods - : ["eth_sendTransaction", "personal_sign", "wallet_switchEthereumChain"], + : ["eth_sendTransaction", "personal_sign"], events: normalizedRequired[EVM_IDENTIFIER]?.events?.length ? normalizedRequired[EVM_IDENTIFIER].events : ["chainChanged", "accountsChanged"],