feat: HodlInvoices (Rebase) (#2869)
Co-authored-by: pseudozach <git@pseudozach.com> Co-authored-by: dni ⚡ <office@dnilabs.com> Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com>
This commit is contained in:
co-authored by
pseudozach
dni ⚡
Vlad Stan
parent
6e9f451419
commit
f91c933919
@@ -40,7 +40,8 @@ window.WalletPageLogic = {
|
||||
data: {
|
||||
amount: null,
|
||||
memo: '',
|
||||
internalMemo: null
|
||||
internalMemo: null,
|
||||
payment_hash: null
|
||||
}
|
||||
},
|
||||
invoiceQrCode: '',
|
||||
@@ -200,6 +201,7 @@ window.WalletPageLogic = {
|
||||
this.receive.data.amount = null
|
||||
this.receive.data.memo = null
|
||||
this.receive.data.internalMemo = null
|
||||
this.receive.data.payment_hash = null
|
||||
this.receive.unit = this.isFiatPriority
|
||||
? this.g.wallet.currency || 'sat'
|
||||
: 'sat'
|
||||
@@ -258,7 +260,8 @@ window.WalletPageLogic = {
|
||||
this.receive.unit,
|
||||
this.receive.lnurl && this.receive.lnurl.callback,
|
||||
this.receive.fiatProvider,
|
||||
this.receive.data.internalMemo
|
||||
this.receive.data.internalMemo,
|
||||
this.receive.data.payment_hash
|
||||
)
|
||||
.then(response => {
|
||||
this.g.updatePayments = !this.g.updatePayments
|
||||
|
||||
Reference in New Issue
Block a user