chore: remove lnurl wallet and withdraw feature (#2293)

* chore: remove lnurl wallet and withdraw feature
this feature is undocumented and the code is very outdated. i don't think it is worth to keep.
looking at the `/lnurlwallet` endpoint for example, it creates a new user and wallet without even checking if the creation of users is allowed
* remove lnurl callback

---------

Co-authored-by: Arc <33088785+arcbtc@users.noreply.github.com>
This commit is contained in:
dni ⚡
2024-04-16 14:10:32 +02:00
committed by GitHub
co-authored by Arc
parent 55eb3be5d5
commit 25661ddff5
7 changed files with 10 additions and 270 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+2 -9
View File
@@ -22,19 +22,12 @@ window.LNbits = {
data: data
})
},
createInvoice: async function (
wallet,
amount,
memo,
unit = 'sat',
lnurlCallback = null
) {
createInvoice: async function (wallet, amount, memo, unit = 'sat') {
return this.request('post', '/api/v1/payments', wallet.inkey, {
out: false,
amount: amount,
memo: memo,
unit: unit,
lnurl_callback: lnurlCallback
unit: unit
})
},
payInvoice: function (wallet, bolt11) {