Fix namings

This commit is contained in:
Leonid Logvinov
2017-10-26 17:36:42 +03:00
committed by Fabio Berger
parent eac467fe9a
commit e4d8b1c4d2

View File

@@ -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);
}
});
}