From ae6e1ea305b491d3c8b43fa22a94aeda8bcab063 Mon Sep 17 00:00:00 2001 From: Pedro Gomes Date: Wed, 12 Jan 2022 18:32:13 +0100 Subject: [PATCH] add wallet methods to legacy client --- legacy/types/src/constants/jsonrpc.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/legacy/types/src/constants/jsonrpc.ts b/legacy/types/src/constants/jsonrpc.ts index b88830ec1..19d5cdf96 100644 --- a/legacy/types/src/constants/jsonrpc.ts +++ b/legacy/types/src/constants/jsonrpc.ts @@ -6,7 +6,7 @@ export const WALLET_METHODS = [ "wallet_registerOnboarding", "wallet_watchAsset", "wallet_scanQRCode", -] +]; export const SIGNING_METHODS = [ "eth_sendTransaction", @@ -18,7 +18,7 @@ export const SIGNING_METHODS = [ "eth_signTypedData_v3", "eth_signTypedData_v4", "personal_sign", - ...WALLET_METHODS + ...WALLET_METHODS, ]; // backwards-compatibility alias