mirror of
https://github.com/muun/recovery.git
synced 2025-11-11 14:30:19 -05:00
fix vendor folder
This commit is contained in:
2
vendor/github.com/muun/libwallet/invoice.go
generated
vendored
2
vendor/github.com/muun/libwallet/invoice.go
generated
vendored
@@ -27,7 +27,7 @@ func ParseInvoice(invoice string, network *Network) (*Invoice, error) {
|
||||
|
||||
if strings.HasPrefix(strings.ToLower(invoice), lightningScheme) {
|
||||
// Remove lightning scheme from rawInvoice
|
||||
invoice = invoice[len(lightningScheme):len(invoice)]
|
||||
invoice = invoice[len(lightningScheme):]
|
||||
}
|
||||
|
||||
parsedInvoice, err := zpay32.Decode(invoice, network.network)
|
||||
|
||||
Reference in New Issue
Block a user