From a537b2e40ca08187138851094c781394af4a2f2d Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Thu, 5 Oct 2017 14:47:45 +0300 Subject: Add missing comment --- src/contract_wrappers/contract_wrapper.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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 { 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); } } -- cgit v1.2.3