unielon-coin-bitcoin
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -96,3 +96,3 @@ "use strict"; | ||
let prevOutputValue = defaultRevealOutValue * repeats; | ||
if (body.p == drc20P && (opDeploy == body.op || opTransfer == body.op)) { | ||
if (body.p == drc20P && (opDeploy == body.op || opTransfer == body.op || opMint == body.op)) { | ||
const baseFee = 50000000; | ||
@@ -103,8 +103,2 @@ const changePkScript = bitcoin.address.toOutputScript(feeAddress, network); | ||
} | ||
else if (body.p == drc20P && opMint == body.op) { | ||
const baseFee = 50000000; | ||
const changePkScript = bitcoin.address.toOutputScript(feeAddress, network); | ||
tx.addOutput(changePkScript, baseFee * inscriptionDataList[i].repeat); | ||
prevOutputValue += baseFee * inscriptionDataList[i].repeat; | ||
} | ||
else if (body.p == wdogeP && opDeposit == body.op) { | ||
@@ -111,0 +105,0 @@ let amt = parseInt(body.amt); |
{ | ||
"name": "unielon-coin-bitcoin", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
Sorry, the diff of this file is not supported yet
837837
11731