aboutsummaryrefslogtreecommitdiffstats
path: root/lib
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 /lib
parent37162b277c49ab693a26da3e4d8aa683222bd5a9 (diff)
downloadcoinos-server-54a9a19b2a623cadf8b7ac4f4741587797b68037.tar.gz
coinos-server-54a9a19b2a623cadf8b7ac4f4741587797b68037.zip
change network codes
Diffstat (limited to 'lib')
-rw-r--r--lib/buildliquidtx.js2
-rw-r--r--lib/buildtx.js2
-rw-r--r--lib/send.js2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/buildliquidtx.js b/lib/buildliquidtx.js
index cc1c3f10..d84bdc0b 100644
--- a/lib/buildliquidtx.js
+++ b/lib/buildliquidtx.js
@@ -22,7 +22,7 @@ module.exports = async ({ address, asset, amount, feeRate, user }) => {
where: {
received: true,
account_id: user.account_id,
- network: 'LBTC',
+ network: 'liquid',
},
});
diff --git a/lib/buildtx.js b/lib/buildtx.js
index 8c8be959..ef24ea19 100644
--- a/lib/buildtx.js
+++ b/lib/buildtx.js
@@ -16,7 +16,7 @@ module.exports = async ({ address, amount, feeRate, user }) => {
where: {
received: true,
account_id: user.account_id,
- network: 'BTC',
+ network: 'bitcoin',
}
});
diff --git a/lib/send.js b/lib/send.js
index 519a152c..62fd5af2 100644
--- a/lib/send.js
+++ b/lib/send.js
@@ -78,7 +78,7 @@ send = async (amount, memo, hash, user) => {
rate: app.get("rates")[user.currency],
currency: user.currency,
confirmed: true,
- network: "LNBTC",
+ network: "lightning",
fee,
},
{ transaction }