diff options
| author | Adam Soltys <[email protected]> | 2022-06-14 12:15:58 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-06-14 12:15:58 -0700 |
| commit | ffbd27b2e9ddcb52a37febc0855e16b4fe09dbdc (patch) | |
| tree | ffb85f6472fc52e253f9c88ae87b23bdf7f78218 /routes/liquid | |
| parent | f37c8ba68418a2a325f45a7a36c139cb5bc696aa (diff) | |
| download | coinos-server-ffbd27b2e9ddcb52a37febc0855e16b4fe09dbdc.tar.gz coinos-server-ffbd27b2e9ddcb52a37febc0855e16b4fe09dbdc.zip | |
add multiple credits columns
Diffstat (limited to 'routes/liquid')
| -rw-r--r-- | routes/liquid/receive.js | 2 |
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 }); |
