Skip to content

Commit 0fc8979

Browse files
committed
Compile fix
1 parent 6431a48 commit 0fc8979

File tree

1 file changed

+1
-1
lines changed
  • lightning-invoice/src

1 file changed

+1
-1
lines changed

lightning-invoice/src/de.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ impl FromStr for SignedRawBolt11Invoice {
336336
return Err(Bolt11ParseError::TooShortDataPart);
337337
}
338338

339-
let raw_hrp: RawHrp = hrp.to_lowercase().parse()?;
339+
let raw_hrp: RawHrp = hrp.to_string().to_lowercase().parse()?;
340340
let data_part = RawDataPart::from_base32(&data[..data.len()-MIN_LEN])?;
341341

342342
Ok(SignedRawBolt11Invoice {

0 commit comments

Comments
 (0)