diff options
| author | Adam Soltys <[email protected]> | 2024-01-29 21:09:21 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-01-29 21:09:21 -0800 |
| commit | 0c223a4835711a287f17835af959b47f72ea68c9 (patch) | |
| tree | 1b5d58d0e57ad9b4b9597c249a3b4373f9963188 /lib/db.js | |
| parent | da2ac3f9ba4e5e756088b7b9d79f1ac8c88aef4e (diff) | |
| download | coinos-server-0c223a4835711a287f17835af959b47f72ea68c9.tar.gz coinos-server-0c223a4835711a287f17835af959b47f72ea68c9.zip | |
calculate platform fee properly
Diffstat (limited to 'lib/db.js')
| -rw-r--r-- | lib/db.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -24,7 +24,7 @@ end redis.call('decrby', creditKey, tostring(math.floor(covered))) redis.call('decrby', balanceKey, tostring(math.floor(amount + tip + fee + ourfee))) -return {ok = ourfee} +return ourfee `; let debit = defineScript({ |
