Skip to content

Commit 0324ab8

Browse files
committed
debug: add log to debug
1 parent 9911fdc commit 0324ab8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

apps/kyberswap-interface/src/pages/CrossChainSwap/adapters/NearIntentsAdapter.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,9 @@ export class NearIntentsAdapter extends BaseSwapAdapter {
216216
) {
217217
throw new Error('Near Intent recipient or refundTo is ZERO ADDRESS')
218218
}
219+
220+
console.log('refreshedQuote.quote.minAmountOut ======', refreshedQuote.quote.minAmountOut)
221+
console.log('quote.rawQuote.quote.minAmountOut ======', quote.rawQuote.quote.minAmountOut)
219222
if (BigInt(refreshedQuote.quote.minAmountOut) < BigInt(quote.rawQuote.quote.minAmountOut)) {
220223
throw new Error('Quote amount out is less than expected')
221224
}

0 commit comments

Comments
 (0)