internal rpc - add isMetamaskInternal flag

feature/default_network_editable
kumavis 9 years ago
parent 15a88c71aa
commit 5fbaed23c6
  1. 2
      app/scripts/inpage.js

@ -35,7 +35,7 @@ function populateAccountsCache(){
remoteProvider.sendAsync(createPayload({ remoteProvider.sendAsync(createPayload({
method: 'eth_accounts', method: 'eth_accounts',
params: [], params: [],
note: 'from metamask inpage provider', isMetamaskInternal: true,
}), function(err, response){ }), function(err, response){
if (err) return console.error('MetaMask - Error polling accounts') if (err) return console.error('MetaMask - Error polling accounts')
// update localStorage // update localStorage

Loading…
Cancel
Save