From b00425a6aa7faa2d233b7e62eb4e8259fe233ccf Mon Sep 17 00:00:00 2001 From: Kevin Peters Date: Thu, 9 Jan 2025 09:36:41 -0600 Subject: [PATCH] remove spammy console logging --- connect/src/routes/tokenBridge/automatic.ts | 1 - connect/src/routes/tokenBridge/manual.ts | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/connect/src/routes/tokenBridge/automatic.ts b/connect/src/routes/tokenBridge/automatic.ts index ea39c7488..f4304ee86 100644 --- a/connect/src/routes/tokenBridge/automatic.ts +++ b/connect/src/routes/tokenBridge/automatic.ts @@ -106,7 +106,6 @@ export class AutomaticTokenBridgeRoute return [expectedDestinationToken]; } catch (e) { - console.error(`Failed to get destination token: ${e}`); return []; } } diff --git a/connect/src/routes/tokenBridge/manual.ts b/connect/src/routes/tokenBridge/manual.ts index c5e8ced79..4f72e56fa 100644 --- a/connect/src/routes/tokenBridge/manual.ts +++ b/connect/src/routes/tokenBridge/manual.ts @@ -84,7 +84,6 @@ export class TokenBridgeRoute try { return [await TokenTransfer.lookupDestinationToken(fromChain, toChain, sourceToken)]; } catch (e) { - console.error(`Failed to get destination token: ${e}`); return []; } } @@ -165,7 +164,7 @@ export class TokenBridgeRoute destinationTxs: dstTxIds, }; } - + async resume(txid: TransactionId): Promise { const xfer = await TokenTransfer.from(this.wh, txid, 10 * 1000); return TokenTransfer.getReceipt(xfer);