Add missing comment

This commit is contained in:
Leonid Logvinov
2017-10-05 14:47:45 +03:00
parent 1b6d3b0f0b
commit a537b2e40c

View File

@@ -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);
}
}