aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-10-05 19:47:45 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-10-05 20:35:37 +0800
commita537b2e40ca08187138851094c781394af4a2f2d (patch)
tree619018cbd7c50466b280311fef73e8805de0f994 /src
parent1b6d3b0f0b193f5237210b92e72b898db8a92232 (diff)
downloaddexon-sol-tools-a537b2e40ca08187138851094c781394af4a2f2d.tar
dexon-sol-tools-a537b2e40ca08187138851094c781394af4a2f2d.tar.gz
dexon-sol-tools-a537b2e40ca08187138851094c781394af4a2f2d.tar.bz2
dexon-sol-tools-a537b2e40ca08187138851094c781394af4a2f2d.tar.lz
dexon-sol-tools-a537b2e40ca08187138851094c781394af4a2f2d.tar.xz
dexon-sol-tools-a537b2e40ca08187138851094c781394af4a2f2d.tar.zst
dexon-sol-tools-a537b2e40ca08187138851094c781394af4a2f2d.zip
Add missing comment
Diffstat (limited to 'src')
-rw-r--r--src/contract_wrappers/contract_wrapper.ts1
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);
}
}