mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
controllers - recent-blocks - fix pifyd setTimeout args
This commit is contained in:
parent
08dc238c9f
commit
41c04ef721
@ -4,7 +4,7 @@ const BN = require('ethereumjs-util').BN
|
||||
const EthQuery = require('eth-query')
|
||||
const log = require('loglevel')
|
||||
const pify = require('pify')
|
||||
const timeout = (duration) => new Promise(resolve => setTimeout(duration, resolve))
|
||||
const timeout = (duration) => new Promise(resolve => setTimeout(resolve, duration))
|
||||
|
||||
class RecentBlocksController {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user