Skip to content

Commit

Permalink
add blocks counter and logs
Browse files Browse the repository at this point in the history
  • Loading branch information
defi-dev committed Nov 28, 2023
1 parent d17922f commit 4860ef1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions app/services/ContractEventsEmitter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,14 @@ export default class ContractEventsEmitter {
});
if (blockNumber && address) {
console.log(
blockNumber + ' block logs count(query:',
blockNumber + ' block logs count( query:',
this.emitByBlockCount[address][blockNumber],
'websocket:',
this.contractEmitterCount[address][blockNumber] + ')',
this.contractEmitterCount[address][blockNumber],
')',
);
delete this.emitByBlockCount[address][blockNumber];
delete this.contractEmitterCount[address][blockNumber];
}
}

Expand Down

0 comments on commit 4860ef1

Please sign in to comment.