aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-01-08 16:10:05 +0000
committerAdam Soltys <[email protected]>2024-01-08 16:10:05 +0000
commit9eb6a95a24aab240dcfd6a62f9f0883e3c07013e (patch)
treead62947cfeda3d71f5c6cbdf58e8ef9721818335
parent4e611016b1f4ee04fdedca3f804559ad214c6eb1 (diff)
downloadcoinos-server-9eb6a95a24aab240dcfd6a62f9f0883e3c07013e.tar.gz
coinos-server-9eb6a95a24aab240dcfd6a62f9f0883e3c07013e.zip
sat symbols
-rw-r--r--lib/db.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/db.js b/lib/db.js
index a664ca32..868f18cc 100644
--- a/lib/db.js
+++ b/lib/db.js
@@ -18,7 +18,7 @@ local covered = math.min(credit, ourfee)
ourfee = ourfee - covered
if balance < amount + tip + fee + ourfee then
- return {err = 'Insufficient funds ' .. balance .. ' vs ' .. amount + tip + fee + ourfee}
+ return {err = 'Insufficient funds ⚡️' .. balance .. ' of ⚡️' .. amount + tip + fee + ourfee}
end
redis.call('decrby', creditKey, tostring(math.floor(covered)))