diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-07-07 02:23:41 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-07-07 02:23:41 +0800 |
commit | afbc4989d512d3dcc24a7cbc29e96afaae3acdc0 (patch) | |
tree | b4bbb8d426d8401d3c5ed4a9b3fed629d8e957f3 /packages/website/ts/blockchain.ts | |
parent | 97809a03eb5be210a20247444cfd45ed68b515fd (diff) | |
download | dexon-sol-tools-afbc4989d512d3dcc24a7cbc29e96afaae3acdc0.tar dexon-sol-tools-afbc4989d512d3dcc24a7cbc29e96afaae3acdc0.tar.gz dexon-sol-tools-afbc4989d512d3dcc24a7cbc29e96afaae3acdc0.tar.bz2 dexon-sol-tools-afbc4989d512d3dcc24a7cbc29e96afaae3acdc0.tar.lz dexon-sol-tools-afbc4989d512d3dcc24a7cbc29e96afaae3acdc0.tar.xz dexon-sol-tools-afbc4989d512d3dcc24a7cbc29e96afaae3acdc0.tar.zst dexon-sol-tools-afbc4989d512d3dcc24a7cbc29e96afaae3acdc0.zip |
address CR feedback
Diffstat (limited to 'packages/website/ts/blockchain.ts')
-rw-r--r-- | packages/website/ts/blockchain.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/website/ts/blockchain.ts b/packages/website/ts/blockchain.ts index efeeafe32..169d01ecb 100644 --- a/packages/website/ts/blockchain.ts +++ b/packages/website/ts/blockchain.ts @@ -805,12 +805,12 @@ export class Blockchain { if (!_.isUndefined(this._watchGasPriceIntervalId)) { return; // we are already watching } + const oneMinuteInMs = 60000; // tslint:disable-next-line:no-floating-promises this._updateDefaultGasPriceAsync(); this._watchGasPriceIntervalId = intervalUtils.setAsyncExcludingInterval( this._updateDefaultGasPriceAsync.bind(this), - // 1 minute - 60000, + oneMinuteInMs, (err: Error) => { logUtils.log(`Watching gas price failed: ${err.stack}`); this._stopWatchingGasPrice(); |