diff options
Diffstat (limited to 'routes/bitcoin')
| -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 5025a809..5bdbcb72 100644 --- a/routes/bitcoin/receive.js +++ b/routes/bitcoin/receive.js @@ -195,7 +195,7 @@ setInterval(async () => { { pending: Math.min(account.pending, total) }, { transaction } ); - await account.increment({ fee_credits: total * withdrawalFeeMultiplier }, { transaction }); + await account.increment({ fee_credits: Math.floor(total * withdrawalFeeMultiplier) }, { transaction }); await account.reload({ transaction }); await p.save({ transaction }); |
