1
0
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:
kumavis 2018-05-16 23:13:25 -07:00
parent 08dc238c9f
commit 41c04ef721

View File

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