mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 01:47:00 +01:00
sync - slow account polling to 4s
This commit is contained in:
parent
9c17c9aca6
commit
ebf60843fa
@ -16,7 +16,7 @@ remoteProvider.pipe(pluginStream).pipe(remoteProvider)
|
||||
|
||||
// handle accounts cache
|
||||
var accountsCache = []
|
||||
setInterval(populateAccountsCache, 1000)
|
||||
setInterval(populateAccountsCache, 4000)
|
||||
function populateAccountsCache(){
|
||||
remoteProvider.sendAsync(createPayload({
|
||||
method: 'eth_accounts',
|
||||
|
Loading…
Reference in New Issue
Block a user