From 54a9a19b2a623cadf8b7ac4f4741587797b68037 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 10 Sep 2020 20:40:36 -0700 Subject: change network codes --- lib/buildliquidtx.js | 2 +- lib/buildtx.js | 2 +- lib/send.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') 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 } -- cgit v1.2.3