diff options
testing continues
Diffstat (limited to 'app/scripts/background.js')
-rw-r--r-- | app/scripts/background.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/scripts/background.js b/app/scripts/background.js index c439558c8..8efe79207 100644 --- a/app/scripts/background.js +++ b/app/scripts/background.js @@ -1,4 +1,4 @@ -const ZeroClientProvider = require('web3-provider-skeleton') +const ZeroClientProvider = require('web3-provider-engine') // const PortStream = require('./lib/port-stream.js') const identitiesUrl = 'https://alpha.metamask.io/identities/' @@ -21,7 +21,8 @@ function connectRemote(remotePort){ function onRpcRequest(remotePort, payload){ zeroClient.sendAsync(payload, function onPayloadHandled(err, response){ if (err) throw err - // console.log('MetaMaskPlugin - RPC complete:', payload, '->', response) + console.log('MetaMaskPlugin - RPC complete:', payload, '->', response) + if (response.result === true) debugger // if (typeof response !== 'object') { // if (!response) { // console.warn('-------------------------------') |