Fix a typo

This commit is contained in:
Leonid Logvinov
2017-10-06 13:08:07 +03:00
parent 292aab9b18
commit 498cf5333d

View File

@@ -122,7 +122,7 @@ export class ContractWrapper {
}
private async _reconcileBlockAsync(): Promise<void> {
const latestBlock = await this._web3Wrapper.getBlockAsync(BlockParamLiteral.Latest);
// We need to coerce to Block type cause Web3.Block includes types for mempool bloks
// We need to coerce to Block type cause Web3.Block includes types for mempool blocks
(this._blockAndLogStreamer as BlockAndLogStreamer).reconcileNewBlock(latestBlock as any as Block);
}
}