aboutsummaryrefslogtreecommitdiffstats
path: root/estimateLiquidFee.js
diff options
context:
space:
mode:
Diffstat (limited to 'estimateLiquidFee.js')
-rw-r--r--estimateLiquidFee.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/estimateLiquidFee.js b/estimateLiquidFee.js
index fc1655b6..fb9e54f0 100644
--- a/estimateLiquidFee.js
+++ b/estimateLiquidFee.js
@@ -8,7 +8,7 @@ const bc = new BitcoinCore(config.liquid);
module.exports = (app, db, emit) => async (req, res) => {
let { user } = req;
- let { address, amount, confTarget, feeRate, mode } = req.body;
+ let { address, amount, feeRate } = req.body;
let tx, fee;
try {
@@ -23,8 +23,6 @@ module.exports = (app, db, emit) => async (req, res) => {
}
if (feeRate) params["feeRate"] = (parseInt(feeRate) / SATS * 1000).toFixed(8);
- if (confTarget) params["conf_target"] = parseInt(confTarget);
- if (mode) params["estimate_mode"] = mode;
tx = await bc.fundRawTransaction(tx, params);
res.send({ tx });