aboutsummaryrefslogtreecommitdiffstats
path: root/lib/payments.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-09-17 01:04:58 +0000
committerAdam Soltys <[email protected]>2024-09-17 01:04:58 +0000
commit8b6ec4f9770b5270c729105724aeb5b012221ee2 (patch)
tree249b7a81d257da54fbe36a7d6fd2e985bbe950d5 /lib/payments.ts
parent64ab0990f390bf64335e76ee89f3c96852be6d81 (diff)
downloadcoinos-server-8b6ec4f9770b5270c729105724aeb5b012221ee2.tar.gz
coinos-server-8b6ec4f9770b5270c729105724aeb5b012221ee2.zip
encode pubkey
Diffstat (limited to 'lib/payments.ts')
-rw-r--r--lib/payments.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/payments.ts b/lib/payments.ts
index 3f5cd152..bcb567c4 100644
--- a/lib/payments.ts
+++ b/lib/payments.ts
@@ -84,7 +84,6 @@ export let debit = async ({
let tip = parseInt(invoice?.tip) || null;
if (tip < 0) fail("Invalid tip");
- console.log("AMT", amount);
if (!amount || amount < 0) fail("Amount must be greater than zero");
let ourfee: any = [types.bitcoin, types.liquid, types.lightning].includes(