mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
internal rpc - add isMetamaskInternal flag
This commit is contained in:
parent
15a88c71aa
commit
5fbaed23c6
@ -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…
x
Reference in New Issue
Block a user