aboutsummaryrefslogtreecommitdiffstats
path: root/routes/liquid/send.js
diff options
context:
space:
mode:
Diffstat (limited to 'routes/liquid/send.js')
-rw-r--r--routes/liquid/send.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/routes/liquid/send.js b/routes/liquid/send.js
index 8e21e4d4..fcb05942 100644
--- a/routes/liquid/send.js
+++ b/routes/liquid/send.js
@@ -137,6 +137,7 @@ sendLiquid = async ({ asset, amount, user, address, memo, tx, limit }) => {
if (withdrawalFeeDeduction) {
await account.decrement({ fee_credits: withdrawalFeeDeduction }, { transaction });
await account.reload({ transaction });
+ withdrawalFee -= withdrawalFeeDeduction;
}
await account.decrement({ balance: (total + withdrawalFee)}, { transaction });