diff --git a/common/src/solana.ts b/common/src/solana.ts index 1c97c977..19494ede 100644 --- a/common/src/solana.ts +++ b/common/src/solana.ts @@ -174,7 +174,5 @@ export function getTokenBalanceChange( const change = BigInt(postTokenBalance.uiTokenAmount.amount) - BigInt(preTokenBalance.uiTokenAmount.amount); - console.log(`Token balance change for owner ${owner} and mint ${mint}: ${change}`); - return change; } diff --git a/watcher/src/fastTransfer/swapLayer/solParser.ts b/watcher/src/fastTransfer/swapLayer/solParser.ts index ea5e32b9..318cb18e 100644 --- a/watcher/src/fastTransfer/swapLayer/solParser.ts +++ b/watcher/src/fastTransfer/swapLayer/solParser.ts @@ -244,10 +244,6 @@ export class SwapLayerParser { ? getTokenBalanceChange(transaction, recipient.toBase58(), this.USDC_MINT.toBase58()) : 0n; - console.log(`Instruction Name: ${instructionName}`); - console.log(`Recipient Account Key: ${recipient.toBase58()}`); - console.log(`Fee Recipient Account Key: ${this.getAccountKey(transaction, ix, 6)?.toBase58()}`); - const relayingFee = instructionName === 'complete_transfer_relay' ? getTokenBalanceChange(transaction, this.getAccountKey(transaction, ix, 6)?.toBase58() || '', this.USDC_MINT.toBase58()) : 0n;