diff options
| author | Adam Soltys <[email protected]> | 2023-12-22 12:57:02 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-12-22 12:57:02 -0800 |
| commit | fbf27aaeb56cabc004c30215832126c98e7e4c6a (patch) | |
| tree | 2414e2a4db343c267ec9b31bed44157d9d7cf124 /lib/db.js | |
| parent | 313e8d4a4277631feed002f3dedf4907cc881ced (diff) | |
| download | coinos-server-fbf27aaeb56cabc004c30215832126c98e7e4c6a.tar.gz coinos-server-fbf27aaeb56cabc004c30215832126c98e7e4c6a.zip | |
return platform fee for ln
Diffstat (limited to 'lib/db.js')
| -rw-r--r-- | lib/db.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -18,7 +18,7 @@ local covered = math.min(credit, ourfee) ourfee = ourfee - covered if balance < amount + tip + fee + ourfee then - return {err = 'Insufficient funds'} + return {err = 'Insufficient funds ' .. balance .. ' vs ' .. amount + tip + fee + ourfee} end redis.call('decrby', creditKey, tostring(math.floor(covered))) |
