Skip to content

Commit

Permalink
feat: add logs for debug
Browse files Browse the repository at this point in the history
  • Loading branch information
serezhaolshan committed Sep 9, 2024
1 parent 7197e09 commit 48c5f38
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/watcher/watcher.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,12 +249,11 @@ export class WatcherService {
console.log("Tx Data: ", from, to, type);

if (!SUPPORTED_TX_TYPES.includes(type)) return;
console.log("After check Tx Data: ", from, to, type);

// @dev To avoid sending notifications for node rewards transactions
// @dev To lower case for case-insensitive comparison
if (from.toLowerCase() === rewardsBankAddress.toLowerCase()) return;
console.log("After check address ", from, to, type);
console.log("After check Tx Data: ", from, to, type);

// @dev Did it for hiding ERC-1155 and ERC-721 transfers for users
if (token && !(await isERC20Standard(token.address))) {
Expand Down

0 comments on commit 48c5f38

Please sign in to comment.