aboutsummaryrefslogtreecommitdiffstats
path: root/routes/lightning
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2020-09-10 20:40:36 -0700
committerAdam Soltys <[email protected]>2020-09-10 20:40:36 -0700
commit54a9a19b2a623cadf8b7ac4f4741587797b68037 (patch)
treeb50232c6be86b7faef4da0e85bee2da458d7bd5c /routes/lightning
parent37162b277c49ab693a26da3e4d8aa683222bd5a9 (diff)
downloadcoinos-server-54a9a19b2a623cadf8b7ac4f4741587797b68037.tar.gz
coinos-server-54a9a19b2a623cadf8b7ac4f4741587797b68037.zip
change network codes
Diffstat (limited to 'routes/lightning')
-rw-r--r--routes/lightning/receive.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/routes/lightning/receive.js b/routes/lightning/receive.js
index 719a8184..5b0d1d77 100644
--- a/routes/lightning/receive.js
+++ b/routes/lightning/receive.js
@@ -1,5 +1,3 @@
-const asset = "LNBTC";
-
const handlePayment = async (msg) => {
try {
await db.transaction(async (transaction) => {
@@ -49,7 +47,7 @@ const handlePayment = async (msg) => {
rate,
received: true,
confirmed: true,
- network: "LNBTC",
+ network: "lightning",
tip,
},
{ transaction }