Vitor Pamplona
2023-07-04 19:25:21 -04:00
parent e0f186bb94
commit fd6a63a76c
@@ -53,7 +53,7 @@ class CashuProcessor {
LightningAddressResolver().lnAddressInvoice( LightningAddressResolver().lnAddressInvoice(
lnaddress = lud16, lnaddress = lud16,
milliSats = token.redeemInvoiceAmount * 1000, // Make invoice and leave room for fees milliSats = token.redeemInvoiceAmount * 1000, // Make invoice and leave room for fees
message = "Reedem Cashu", message = "Redeem Cashu",
onSuccess = { invoice -> onSuccess = { invoice ->
meltInvoice(token, invoice, onSuccess, onError) meltInvoice(token, invoice, onSuccess, onError)
}, },