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 4f1eb94 commit 965e182
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/watcher/watcher.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,11 @@ 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;
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 965e182

Please sign in to comment.