aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-11-10 19:04:40 +0000
committerAdam Soltys <[email protected]>2022-11-12 11:32:20 +0000
commit72b0290060de31dc143eb0ec69fcbe60d00d463f (patch)
tree94ed5d2d0c05c23364422117e8ef3547f88bd36d /lib
parent5bd85fd39baebe4ef737c1035045765086333788 (diff)
downloadcoinos-server-72b0290060de31dc143eb0ec69fcbe60d00d463f.tar.gz
coinos-server-72b0290060de31dc143eb0ec69fcbe60d00d463f.zip
rm log
Diffstat (limited to 'lib')
-rw-r--r--lib/sync.js16
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/sync.js b/lib/sync.js
index df7c812f..9e9be3fd 100644
--- a/lib/sync.js
+++ b/lib/sync.js
@@ -150,22 +150,6 @@ const sync = async () => {
});
if (account) {
- console.log("CREATING", {
- account_id: account.id,
- user_id: invoice.user_id,
- hash: text,
- amount,
- currency: invoice.currency,
- preimage,
- rate: invoice.rate,
- received: true,
- confirmed: true,
- network: "lightning",
- tip: invoice.tip,
- invoice_id: invoice.id,
- createdAt,
- updatedAt: createdAt,
- });
let payment = await db.Payment.create({
account_id: account.id,
user_id: invoice.user_id,