aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/src
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-02-06 02:10:17 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-02-06 02:10:17 +0800
commit881d32e73324b226bdc97f96fb583edb7a5311c1 (patch)
tree78e3b30e47d5fd03ee169afc9e33d8e6a45f8d43 /packages/0x.js/src
parentc7ad6ebad6ab65a4b1e4a2084e744c6ca2bc09b8 (diff)
downloaddexon-sol-tools-881d32e73324b226bdc97f96fb583edb7a5311c1.tar
dexon-sol-tools-881d32e73324b226bdc97f96fb583edb7a5311c1.tar.gz
dexon-sol-tools-881d32e73324b226bdc97f96fb583edb7a5311c1.tar.bz2
dexon-sol-tools-881d32e73324b226bdc97f96fb583edb7a5311c1.tar.lz
dexon-sol-tools-881d32e73324b226bdc97f96fb583edb7a5311c1.tar.xz
dexon-sol-tools-881d32e73324b226bdc97f96fb583edb7a5311c1.tar.zst
dexon-sol-tools-881d32e73324b226bdc97f96fb583edb7a5311c1.zip
Temp
Diffstat (limited to 'packages/0x.js/src')
-rw-r--r--packages/0x.js/src/contract_wrappers/contract_wrapper.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/0x.js/src/contract_wrappers/contract_wrapper.ts b/packages/0x.js/src/contract_wrappers/contract_wrapper.ts
index 2d5818618..dcd59059f 100644
--- a/packages/0x.js/src/contract_wrappers/contract_wrapper.ts
+++ b/packages/0x.js/src/contract_wrappers/contract_wrapper.ts
@@ -196,6 +196,7 @@ export class ContractWrapper {
}
private async _reconcileBlockAsync(): Promise<void> {
const latestBlock = await this._web3Wrapper.getBlockAsync(BlockParamLiteral.Latest);
+ console.log('latestBlock', latestBlock.number);
// We need to coerce to Block type cause Web3.Block includes types for mempool blocks
if (!_.isUndefined(this._blockAndLogStreamerIfExists)) {
// If we clear the interval while fetching the block - this._blockAndLogStreamer will be undefined