aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-10-26 22:36:42 +0800
committerFabio Berger <me@fabioberger.com>2017-10-31 00:49:16 +0800
commite4d8b1c4d2a3498d5bc0ce84006d15d6b80a9587 (patch)
treefe39841b106cce1ed2983f27c76013a51656449a /src
parenteac467fe9a7409ddbce49a81fa18b5fb6b7e0f67 (diff)
downloaddexon-sol-tools-e4d8b1c4d2a3498d5bc0ce84006d15d6b80a9587.tar
dexon-sol-tools-e4d8b1c4d2a3498d5bc0ce84006d15d6b80a9587.tar.gz
dexon-sol-tools-e4d8b1c4d2a3498d5bc0ce84006d15d6b80a9587.tar.bz2
dexon-sol-tools-e4d8b1c4d2a3498d5bc0ce84006d15d6b80a9587.tar.lz
dexon-sol-tools-e4d8b1c4d2a3498d5bc0ce84006d15d6b80a9587.tar.xz
dexon-sol-tools-e4d8b1c4d2a3498d5bc0ce84006d15d6b80a9587.tar.zst
dexon-sol-tools-e4d8b1c4d2a3498d5bc0ce84006d15d6b80a9587.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);
}
});
}