diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-10-26 22:36:42 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-11-10 03:11:45 +0800 |
commit | a2ffd7de2ec718b87dcaee950160f000d9e3d28f (patch) | |
tree | d85249772766887a208678aa69d031cff35e8ef0 /src | |
parent | cea2fb0fe6014959def51b20ae574e3b6f547e49 (diff) | |
download | dexon-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.ts | 4 |
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); } }); } |