Skip to content

Commit

Permalink
invoice: use proper fluent_uri accessor method
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Jun 8, 2024
1 parent 83abb13 commit 0046fc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion invoice/src/parse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 0046fc4

Please sign in to comment.