Skip to content

Commit 0046fc4

Browse files
committed
invoice: use proper fluent_uri accessor method
1 parent 83abb13 commit 0046fc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

invoice/src/parse.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ impl FromStr for RgbInvoice {
354354
}
355355

356356
let path = uri.path();
357-
if path.is_absolute() || uri.auth.is_some() {
357+
if path.is_absolute() || uri.authority().is_some() {
358358
return Err(InvoiceParseError::Authority);
359359
}
360360

0 commit comments

Comments
 (0)