feat: add currency amount to lnurl/lnaddress payments

closes #2135
This commit is contained in:
dni ⚡
2024-01-22 10:23:14 -06:00
committed by Pavol Rusnak
parent 8eabf53642
commit 023a1a088e
5 changed files with 132 additions and 90 deletions
+4 -2
View File
@@ -49,14 +49,16 @@ window.LNbits = {
description_hash,
amount,
description = '',
comment = ''
comment = '',
unit = ''
) {
return this.request('post', '/api/v1/payments/lnurl', wallet.adminkey, {
callback,
description_hash,
amount,
comment,
description
description,
unit
})
},
authLnurl: function (wallet, callback) {