diff options
| author | Adrien Hopkins <[email protected]> | 2022-06-16 09:17:24 -0500 |
|---|---|---|
| committer | Adrien Hopkins <[email protected]> | 2022-06-16 09:17:24 -0500 |
| commit | 8361c2d400145a13d9ba24299ceb7293e69d3d43 (patch) | |
| tree | 9d8c41deafebd231f126c3d8558d42f6fc0df1e4 /routes/bitcoin/receive.js | |
| parent | a9caa15ac75a6ce2939ffd90a0a2040434095d84 (diff) | |
| download | coinos-server-8361c2d400145a13d9ba24299ceb7293e69d3d43.tar.gz coinos-server-8361c2d400145a13d9ba24299ceb7293e69d3d43.zip | |
Separated Bitcoin and Liquid conversion fee credits
Diffstat (limited to 'routes/bitcoin/receive.js')
| -rw-r--r-- | routes/bitcoin/receive.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/bitcoin/receive.js b/routes/bitcoin/receive.js index 8f5d5842..45dadbbe 100644 --- a/routes/bitcoin/receive.js +++ b/routes/bitcoin/receive.js @@ -195,7 +195,7 @@ setInterval(async () => { { transaction } ); // get the # of fee credits you would need to pay off this amount of bitcoin - await account.increment({ fee_credits: computeConversionFee(total) }, { transaction }); + await account.increment({ btc_credits: computeConversionFee(total) }, { transaction }); await account.reload({ transaction }); await p.save({ transaction }); |
