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
feature/default_network_editable
Mark Stacey 4 years ago committed by GitHub
parent f46dda0195
commit 01301087ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      app/scripts/controllers/permissions/enums.js

@ -36,6 +36,7 @@ export const LOG_LIMIT = 100
export const SAFE_METHODS = [ export const SAFE_METHODS = [
'web3_sha3', 'web3_sha3',
'web3_clientVersion',
'net_listening', 'net_listening',
'net_peerCount', 'net_peerCount',
'net_version', 'net_version',

Loading…
Cancel
Save