diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-11-23 03:37:27 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-11-24 05:13:37 +0800 |
commit | 08569dbe6cadc2dd93a3195f4a6967dc34e5ffba (patch) | |
tree | b83bf0886a3ae240fff59c8c6585f57b8039bb62 /packages | |
parent | a38ef3655b47228c2cc949d917636a19d7e0dddc (diff) | |
download | dexon-sol-tools-08569dbe6cadc2dd93a3195f4a6967dc34e5ffba.tar.gz dexon-sol-tools-08569dbe6cadc2dd93a3195f4a6967dc34e5ffba.tar.zst dexon-sol-tools-08569dbe6cadc2dd93a3195f4a6967dc34e5ffba.zip |
Await block reconcilation
Diffstat (limited to 'packages')
-rw-r--r-- | packages/0x.js/src/contract_wrappers/contract_wrapper.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/0x.js/src/contract_wrappers/contract_wrapper.ts b/packages/0x.js/src/contract_wrappers/contract_wrapper.ts index c1c95c6db..93912c3d9 100644 --- a/packages/0x.js/src/contract_wrappers/contract_wrapper.ts +++ b/packages/0x.js/src/contract_wrappers/contract_wrapper.ts @@ -140,7 +140,7 @@ export class ContractWrapper { // We need to coerce to Block type cause Web3.Block includes types for mempool blocks if (!_.isUndefined(this._blockAndLogStreamer)) { // If we clear the interval while fetching the block - this._blockAndLogStreamer will be undefined - this._blockAndLogStreamer.reconcileNewBlock(latestBlock as any as Block); + await this._blockAndLogStreamer.reconcileNewBlock(latestBlock as any as Block); } } catch (err) { const filterTokens = _.keys(this._filterCallbacks); |