aboutsummaryrefslogtreecommitdiffstats
path: root/lib/buildtx.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/buildtx.js')
-rw-r--r--lib/buildtx.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/buildtx.js b/lib/buildtx.js
index 56b4bbff..8c8be959 100644
--- a/lib/buildtx.js
+++ b/lib/buildtx.js
@@ -16,6 +16,7 @@ module.exports = async ({ address, amount, feeRate, user }) => {
where: {
received: true,
account_id: user.account_id,
+ network: 'BTC',
}
});
@@ -35,7 +36,6 @@ module.exports = async ({ address, amount, feeRate, user }) => {
}
];
- debugger
let { inputs, outputs, fee } = coinselect(utxos, targets, feeRate);
if (!inputs || !outputs) {