From 0046fc446c6150b16f8df3bba9b048d3de267961 Mon Sep 17 00:00:00 2001 From: Dr Maxim Orlovsky Date: Sat, 8 Jun 2024 21:13:59 +0200 Subject: [PATCH] invoice: use proper fluent_uri accessor method --- invoice/src/parse.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invoice/src/parse.rs b/invoice/src/parse.rs index 3885c387..7101fad9 100644 --- a/invoice/src/parse.rs +++ b/invoice/src/parse.rs @@ -354,7 +354,7 @@ impl FromStr for RgbInvoice { } let path = uri.path(); - if path.is_absolute() || uri.auth.is_some() { + if path.is_absolute() || uri.authority().is_some() { return Err(InvoiceParseError::Authority); }