diff options
Diffstat (limited to 'library/src/background.js')
-rw-r--r-- | library/src/background.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/src/background.js b/library/src/background.js index 0af692ab8..dd0e13239 100644 --- a/library/src/background.js +++ b/library/src/background.js @@ -120,7 +120,7 @@ function setupController (initState, client) { }) function connectRemote (connectionStream, context) { - var isMetaMaskInternalProcess = (context !== 'dapp') + var isMetaMaskInternalProcess = (context === 'popup') if (isMetaMaskInternalProcess) { // communication with popup controller.setupTrustedCommunication(connectionStream, 'MetaMask') |