From 8361c2d400145a13d9ba24299ceb7293e69d3d43 Mon Sep 17 00:00:00 2001 From: Adrien Hopkins Date: Thu, 16 Jun 2022 09:17:24 -0500 Subject: Separated Bitcoin and Liquid conversion fee credits --- routes/liquid/receive.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'routes/liquid/receive.js') diff --git a/routes/liquid/receive.js b/routes/liquid/receive.js index 5c0ca98e..2bd86805 100644 --- a/routes/liquid/receive.js +++ b/routes/liquid/receive.js @@ -343,7 +343,7 @@ setInterval(async () => { { pending: Math.min(p.account.pending, total) }, { transaction } ); - await p.account.increment({ fee_credits: computeConversionFee(total) }, { transaction }); + await p.account.increment({ liquid_credits: computeConversionFee(total) }, { transaction }); await p.account.reload({ transaction }); await p.save({ transaction }); -- cgit v1.2.3