From b5607df482440b55bd3e802f5bea4ead95e6491e Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 8 Sep 2020 07:26:14 -0700 Subject: bump account index --- lib/buildtx.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/buildtx.js') 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) { -- cgit v1.2.3