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:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user