cashubtc / eNuts

A Cashu wallet for Android and iOS 🥜🐿️
https://enuts.cash
GNU General Public License v3.0
189 stars 25 forks source link

Paste invoice with "lightning:" prefix results in "invalid invoice" #347

Open KKA11010 opened 6 months ago

KKA11010 commented 6 months ago

Describe the bug When I paste an invoice that contains a prefix, the wallet shows a message saying "invalid invoice", which is confusing because the invoice is valid. I have to manually remove the prefix and paste it again.

Expected behavior The wallet should consider this case and accept prefixes in the input field.