|
|
@ -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
|
|
|
|