FIX: LND Pay wasnt referencing wrong wallet propertty

This commit is contained in:
marcosrdz 2020-12-14 10:49:36 -05:00 committed by Overtorment
parent 71fe4c1f01
commit aae26dd79e

View File

@ -196,7 +196,7 @@ const ScanLndInvoice = () => {
return alert(loc.lnd.errorInvoiceExpired);
}
const currentUserInvoices = wallet.let.user_invoices_raw; // not fetching invoices, as we assume they were loaded previously
const currentUserInvoices = wallet.user_invoices_raw; // not fetching invoices, as we assume they were loaded previously
if (currentUserInvoices.some(invoice => invoice.payment_hash === decoded.payment_hash)) {
setIsLoading(false);
ReactNativeHapticFeedback.trigger('notificationError', { ignoreAndroidSystemSettings: false });