aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2018-05-17 14:13:25 +0800
committerkumavis <aaron@kumavis.me>2018-05-17 14:13:25 +0800
commit41c04ef7219eafeca71bcd577abe6bca3a637a89 (patch)
tree64db2459af344fc8e1aa355d12db53ea98974937 /app
parent08dc238c9fdb23997a7fbdf57de5305455d1d930 (diff)
downloadtangerine-wallet-browser-41c04ef7219eafeca71bcd577abe6bca3a637a89.tar
tangerine-wallet-browser-41c04ef7219eafeca71bcd577abe6bca3a637a89.tar.gz
tangerine-wallet-browser-41c04ef7219eafeca71bcd577abe6bca3a637a89.tar.bz2
tangerine-wallet-browser-41c04ef7219eafeca71bcd577abe6bca3a637a89.tar.lz
tangerine-wallet-browser-41c04ef7219eafeca71bcd577abe6bca3a637a89.tar.xz
tangerine-wallet-browser-41c04ef7219eafeca71bcd577abe6bca3a637a89.tar.zst
tangerine-wallet-browser-41c04ef7219eafeca71bcd577abe6bca3a637a89.zip
controllers - recent-blocks - fix pifyd setTimeout args
Diffstat (limited to 'app')
-rw-r--r--app/scripts/controllers/recent-blocks.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/controllers/recent-blocks.js b/app/scripts/controllers/recent-blocks.js
index 4101814eb..28eba0f26 100644
--- a/app/scripts/controllers/recent-blocks.js
+++ b/app/scripts/controllers/recent-blocks.js
@@ -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 {