Skip to content

Commit

Permalink
feat: delete redundant logs
Browse files Browse the repository at this point in the history
  • Loading branch information
serezhaolshan committed Sep 9, 2024
1 parent 1647783 commit cfee909
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/watcher/watcher.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,16 +246,12 @@ export class WatcherService {

const { data: { data: [txData] } } = txDataResponse;
const { from, to, value, timestamp, token, type } = txData;
console.log("Tx Data: ", from, to, type);

if (!SUPPORTED_TX_TYPES.includes(type)) return;

// @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("Addresses Comparsion: ", from.toLowerCase(), rewardsBankAddress.toLowerCase());

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 cfee909

Please sign in to comment.