diff options
| author | Adam Soltys <[email protected]> | 2020-09-08 07:26:14 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2020-09-08 07:26:14 -0700 |
| commit | b5607df482440b55bd3e802f5bea4ead95e6491e (patch) | |
| tree | 6b8948fbb703c1feaca1aca10f3ac86c8062768b /lib/buildtx.js | |
| parent | e40e68f49b10d6ef70546f7128bad891256525c0 (diff) | |
| download | coinos-server-b5607df482440b55bd3e802f5bea4ead95e6491e.tar.gz coinos-server-b5607df482440b55bd3e802f5bea4ead95e6491e.zip | |
bump account index
Diffstat (limited to 'lib/buildtx.js')
| -rw-r--r-- | lib/buildtx.js | 2 |
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) { |
