diff --git a/src/order_watcher/event_watcher.ts b/src/order_watcher/event_watcher.ts index 471dcd21a8..f1a2b5729c 100644 --- a/src/order_watcher/event_watcher.ts +++ b/src/order_watcher/event_watcher.ts @@ -53,8 +53,9 @@ export class EventWatcher { fromBlock = BlockParamLiteral.Pending; toBlock = BlockParamLiteral.Pending; } else { - toBlock = await this._web3Wrapper.getBlockNumberAsync(); - fromBlock = toBlock - numConfirmations; + const currentBlock = await this._web3Wrapper.getBlockNumberAsync(); + toBlock = currentBlock - numConfirmations; + fromBlock = currentBlock - numConfirmations; } const eventFilter = { fromBlock,