unielon-coin-bitcoin
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -36,2 +36,3 @@ "use strict"; | ||
const opDeploy = "deploy"; | ||
const opTransfer = "transfer"; | ||
const opDeposit = "deposit"; | ||
@@ -96,3 +97,3 @@ const drc20P = "drc-20"; | ||
let prevOutputValue = defaultRevealOutValue * repeats; | ||
if (body.p == drc20P && opDeploy == body.op) { | ||
if (body.p == drc20P && (opDeploy == body.op || opTransfer == body.op)) { | ||
const baseFee = 50000000; | ||
@@ -99,0 +100,0 @@ const changePkScript = bitcoin.address.toOutputScript(feeAddress, network); |
{ | ||
"name": "unielon-coin-bitcoin", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
Sorry, the diff of this file is not supported yet
811433
11385