aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-10-26 22:36:42 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-11-10 03:11:45 +0800
commita2ffd7de2ec718b87dcaee950160f000d9e3d28f (patch)
treed85249772766887a208678aa69d031cff35e8ef0 /src
parentcea2fb0fe6014959def51b20ae574e3b6f547e49 (diff)
downloaddexon-sol-tools-a2ffd7de2ec718b87dcaee950160f000d9e3d28f.tar
dexon-sol-tools-a2ffd7de2ec718b87dcaee950160f000d9e3d28f.tar.gz
dexon-sol-tools-a2ffd7de2ec718b87dcaee950160f000d9e3d28f.tar.bz2
dexon-sol-tools-a2ffd7de2ec718b87dcaee950160f000d9e3d28f.tar.lz
dexon-sol-tools-a2ffd7de2ec718b87dcaee950160f000d9e3d28f.tar.xz
dexon-sol-tools-a2ffd7de2ec718b87dcaee950160f000d9e3d28f.tar.zst
dexon-sol-tools-a2ffd7de2ec718b87dcaee950160f000d9e3d28f.zip
Fix namings
Diffstat (limited to 'src')
-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);
}
});
}