diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-10-05 19:47:45 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-10-05 20:35:37 +0800 |
commit | a537b2e40ca08187138851094c781394af4a2f2d (patch) | |
tree | 619018cbd7c50466b280311fef73e8805de0f994 /src/contract_wrappers/contract_wrapper.ts | |
parent | 1b6d3b0f0b193f5237210b92e72b898db8a92232 (diff) | |
download | dexon-0x-contracts-a537b2e40ca08187138851094c781394af4a2f2d.tar dexon-0x-contracts-a537b2e40ca08187138851094c781394af4a2f2d.tar.gz dexon-0x-contracts-a537b2e40ca08187138851094c781394af4a2f2d.tar.bz2 dexon-0x-contracts-a537b2e40ca08187138851094c781394af4a2f2d.tar.lz dexon-0x-contracts-a537b2e40ca08187138851094c781394af4a2f2d.tar.xz dexon-0x-contracts-a537b2e40ca08187138851094c781394af4a2f2d.tar.zst dexon-0x-contracts-a537b2e40ca08187138851094c781394af4a2f2d.zip |
Add missing comment
Diffstat (limited to 'src/contract_wrappers/contract_wrapper.ts')
-rw-r--r-- | src/contract_wrappers/contract_wrapper.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/contract_wrappers/contract_wrapper.ts b/src/contract_wrappers/contract_wrapper.ts index 6f22f5bdb..b6b4aa4be 100644 --- a/src/contract_wrappers/contract_wrapper.ts +++ b/src/contract_wrappers/contract_wrapper.ts @@ -125,6 +125,7 @@ export class ContractWrapper { } private async _reconcileBlockAsync(): Promise<void> { const latestBlock = await this._web3Wrapper.getBlockAsync('latest'); + // We need to coerce to Block type cause Web3.Block includes types for mempool bloks this._blockAndLogStreamer.reconcileNewBlock(latestBlock as any as Block); } } |