From e4d8b1c4d2a3498d5bc0ce84006d15d6b80a9587 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Thu, 26 Oct 2017 17:36:42 +0300 Subject: Fix namings --- src/mempool/mempool_watcher.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/mempool/mempool_watcher.ts b/src/mempool/mempool_watcher.ts index 8314afb0c..70d263fcb 100644 --- a/src/mempool/mempool_watcher.ts +++ b/src/mempool/mempool_watcher.ts @@ -54,12 +54,12 @@ export class MempoolWatcher { } private _emitDifferences(logs: Web3.LogEntry[], isRemoved: boolean): void { _.forEach(logs, log => { - const logWithDecodedArgsEvent = { + const logEvent = { removed: isRemoved, ...log, }; if (!_.isUndefined(this._callback)) { - this._callback(logWithDecodedArgsEvent); + this._callback(logEvent); } }); } -- cgit