aboutsummaryrefslogtreecommitdiffstats
path: root/src/mempool/mempool_watcher.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/mempool/mempool_watcher.ts')
-rw-r--r--src/mempool/mempool_watcher.ts4
1 files changed, 2 insertions, 2 deletions
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);
}
});
}