aboutsummaryrefslogtreecommitdiffstats
path: root/routes/bitcoin
diff options
context:
space:
mode:
Diffstat (limited to 'routes/bitcoin')
-rw-r--r--routes/bitcoin/sweep.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/bitcoin/sweep.js b/routes/bitcoin/sweep.js
index 8b7bf5aa..0d1d63b1 100644
--- a/routes/bitcoin/sweep.js
+++ b/routes/bitcoin/sweep.js
@@ -78,6 +78,6 @@ module.exports = async (req, res) => {
feeRate = Math.round(feeRate * 1000);
psbt = psbt.toBase64();
- console.log(total);
+ if (balance !== amount) total = 0;
res.send({ feeRate, psbt, total });
};