aboutsummaryrefslogtreecommitdiffstats
path: root/src/order_watcher/order_state_watcher.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-11-11 23:57:39 +0800
committerFabio Berger <me@fabioberger.com>2017-11-11 23:57:39 +0800
commit72fcf7b2ab46bb25a72ef508592d11aa99e4d7c0 (patch)
tree322dc4c7432ee59504917a653df738f5645d85e1 /src/order_watcher/order_state_watcher.ts
parenta8b6bbd6bc5a81828ca4bbc5db6452ecefd1a898 (diff)
downloaddexon-0x-contracts-72fcf7b2ab46bb25a72ef508592d11aa99e4d7c0.tar.gz
dexon-0x-contracts-72fcf7b2ab46bb25a72ef508592d11aa99e4d7c0.tar.zst
dexon-0x-contracts-72fcf7b2ab46bb25a72ef508592d11aa99e4d7c0.zip
rename isDecodedLog to isLogDecoded
Diffstat (limited to 'src/order_watcher/order_state_watcher.ts')
-rw-r--r--src/order_watcher/order_state_watcher.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/order_watcher/order_state_watcher.ts b/src/order_watcher/order_state_watcher.ts
index 69efada2a..dfa830402 100644
--- a/src/order_watcher/order_state_watcher.ts
+++ b/src/order_watcher/order_state_watcher.ts
@@ -113,8 +113,8 @@ export class OrderStateWatcher {
}
private async _onEventWatcherCallbackAsync(log: LogEvent): Promise<void> {
const maybeDecodedLog = this._abiDecoder.tryToDecodeLogOrNoop(log);
- const isDecodedLog = !_.isUndefined((maybeDecodedLog as LogWithDecodedArgs<any>).event);
- if (!isDecodedLog) {
+ const isLogDecoded = !_.isUndefined((maybeDecodedLog as LogWithDecodedArgs<any>).event);
+ if (!isLogDecoded) {
return; // noop
}
const blockNumberBuff = ethUtil.toBuffer(maybeDecodedLog.blockNumber);