add debug console.log

This commit is contained in:
Steam Deck User
2023-12-18 13:01:56 +04:00
parent fc00a8bff0
commit 06f1f3d8cf
2 changed files with 5 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@orionprotocol/sdk",
"version": "0.20.34-rc-3",
"version": "0.20.34-rc-4",
"description": "Orion Protocol SDK",
"main": "./lib/index.cjs",
"module": "./lib/index.js",

View File

@@ -341,7 +341,10 @@ async function payFeeToMatcher(
calls: BytesLike[],
swapDescription: LibValidator.SwapDescriptionStruct,
) {
console.log(matcher)
console.log(feeAmount)
console.log(feeToken)
console.log(swapDescription.dstToken)
if (BigInt(feeAmount) !== 0n && feeToken === swapDescription.dstToken) {
const feePaymentCall = generateFeePaymentCall(matcher, feeToken, feeAmount)
calls.push(feePaymentCall)