diff options
| -rw-r--r-- | bitcoinPayments.js | 3 | ||||
| -rw-r--r-- | liquidPayments.js | 3 | ||||
| -rw-r--r-- | payUser.js | 1 | ||||
| -rw-r--r-- | sendCoins.js | 3 | ||||
| -rw-r--r-- | sendLiquid.js | 3 | ||||
| -rw-r--r-- | sendPayment.js | 3 |
6 files changed, 11 insertions, 5 deletions
diff --git a/bitcoinPayments.js b/bitcoinPayments.js index 803a7192..72b2af60 100644 --- a/bitcoinPayments.js +++ b/bitcoinPayments.js @@ -85,7 +85,8 @@ module.exports = (app, bc, db, addresses, payments, emit) => { received: true, tip, confirmed, - address + address, + asset: 'BTC', }); emit(user.username, "payment", payment); diff --git a/liquidPayments.js b/liquidPayments.js index b4d97957..b178cb96 100644 --- a/liquidPayments.js +++ b/liquidPayments.js @@ -81,7 +81,8 @@ module.exports = (app, db, addresses, payments, emit) => { received: true, tip, confirmed, - address + address, + asset: 'LBTC', }); payments.push(blinded.txid); @@ -30,6 +30,7 @@ module.exports = (app, db, lnb) => async (req, res) => { tip: 0, confirmed: true, received: false, + asset: 'LNBTC', }); req.url = "/sendPayment"; diff --git a/sendCoins.js b/sendCoins.js index 8480e72f..34d783c3 100644 --- a/sendCoins.js +++ b/sendCoins.js @@ -75,7 +75,8 @@ module.exports = (app, bc, db, emit) => async (req, res) => { currency: req.user.currency, address, confirmed: true, - received: false + received: false, + asset: 'BTC', }, { transaction } ); diff --git a/sendLiquid.js b/sendLiquid.js index e7d0d066..1a218afe 100644 --- a/sendLiquid.js +++ b/sendLiquid.js @@ -77,7 +77,8 @@ module.exports = (app, db, emit) => async (req, res) => { currency: user.currency, address, confirmed: true, - received: false + received: false, + asset: 'LBTC' }, { transaction } ); diff --git a/sendPayment.js b/sendPayment.js index 24853605..ff5b9609 100644 --- a/sendPayment.js +++ b/sendPayment.js @@ -62,7 +62,8 @@ module.exports = (app, db, emit, seen, lna, lnb) => async (req, res) => { hash, rate: app.get("rates")[user.currency], currency: user.currency, - confirmed: true + confirmed: true, + asset: 'LNBTC', }, { transaction } ); |
