From 01301087ea11c4be38c865bd7e79ed9b88d30638 Mon Sep 17 00:00:00 2001 From: Mark Stacey Date: Wed, 15 Jul 2020 15:34:10 -0300 Subject: [PATCH] Fix `web3_clientVersion` method (#8998) This method was accidentally broken with the introduction of the permissions controller, as this was missing from the list of safe methods. It is now included in the list of safe methods. Fixes #8993 --- app/scripts/controllers/permissions/enums.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/scripts/controllers/permissions/enums.js b/app/scripts/controllers/permissions/enums.js index efd994c10..a4d3afd5b 100644 --- a/app/scripts/controllers/permissions/enums.js +++ b/app/scripts/controllers/permissions/enums.js @@ -36,6 +36,7 @@ export const LOG_LIMIT = 100 export const SAFE_METHODS = [ 'web3_sha3', + 'web3_clientVersion', 'net_listening', 'net_peerCount', 'net_version',