getAlby / nostr-wallet-connect

Nostr Wallet Connect (NIP-47) application to allow apps to connect to your node
https://nwc.getalby.com
Apache License 2.0
103 stars 31 forks source link

Uppercase invoices fail to get decoded #184

Closed bumi closed 8 months ago

bumi commented 9 months ago

capitalized bolt11 invoices fail to get decoded:

https://github.com/getAlby/nostr-wallet-connect/blob/9b70e8a89bbf5da30331414a32f927cc8fc7c9ae/handle_payment_request.go#L39-L46

maybe we just need to lowercase them?