Skip to content

Commit

Permalink
chore: rm optional method
Browse files Browse the repository at this point in the history
  • Loading branch information
Gancho Radkov committed Apr 30, 2024
1 parent d2cb01b commit 4059778
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down

0 comments on commit 4059778

Please sign in to comment.