aboutsummaryrefslogtreecommitdiffstats
path: root/routes
diff options
context:
space:
mode:
Diffstat (limited to 'routes')
-rw-r--r--routes/liquid/receive.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/liquid/receive.js b/routes/liquid/receive.js
index 0eed35fd..9650e5b7 100644
--- a/routes/liquid/receive.js
+++ b/routes/liquid/receive.js
@@ -344,7 +344,7 @@ setInterval(async () => {
{ pending: Math.min(p.account.pending, total) },
{ transaction }
);
- await account.increment({ fee_credits: Math.floor(total * withdrawalFeeMultiplier) }, { transaction });
+ await p.account.increment({ fee_credits: Math.floor(total * withdrawalFeeMultiplier) }, { transaction });
await p.account.reload({ transaction });
await p.save({ transaction });