From 9ae78db7f470af6ea91a5affcf52d9a7f8736b2d Mon Sep 17 00:00:00 2001 From: Mohammad Ranjbar Z Date: Thu, 16 May 2024 09:01:16 +0330 Subject: [PATCH] Ad more logs --- src/services/chains/evm/draftDonationService.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/services/chains/evm/draftDonationService.ts b/src/services/chains/evm/draftDonationService.ts index e6704890d..8f4b017e2 100644 --- a/src/services/chains/evm/draftDonationService.ts +++ b/src/services/chains/evm/draftDonationService.ts @@ -130,8 +130,7 @@ export async function matchDraftDonations( let transferCallData = draftDonation.expectedCallData; logger.debug('matchDraftDonations() transferCallData', { transferCallData, - txAmount: ethers.utils.formatEther(transaction.value), - txHash: transaction.hash, + transaction, }); if (!transferCallData) { const token = await findTokenByNetworkAndAddress( @@ -150,6 +149,13 @@ export async function matchDraftDonations( } if (transaction.input.toLowerCase() !== transferCallData) { + logger.debug( + 'matchDraftDonations() transaction.input.toLowerCase() !== transferCallData', + { + transferCallData, + transaction, + }, + ); continue; }