unielon-coin-bitcoin
Advanced tools
Comparing version 1.0.7 to 1.0.8
@@ -101,3 +101,5 @@ "use strict"; | ||
let prevOutputValue = defaultRevealOutValue * repeats; | ||
if ((body.p == drc20P && (opDeploy == body.op || opTransfer == body.op || opMint == body.op)) || opWithdraw == body.op || body.p == pairV1P) { | ||
const isDrc20Operation = (body, op) => body.p === drc20P && [opDeploy, opTransfer, opMint].includes(op); | ||
const isSpecialP = (p) => [pairV1P, orderV1P, boxV1P, stakeV1P].includes(p); | ||
if (isDrc20Operation(body, body.op) || opWithdraw === body.op || isSpecialP(body.p)) { | ||
const baseFee = 50000000; | ||
@@ -104,0 +106,0 @@ const changePkScript = bitcoin.address.toOutputScript(feeAddress, network); |
{ | ||
"name": "unielon-coin-bitcoin", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
Sorry, the diff of this file is not supported yet
838538
11738