breez_sdk_liquid::bitcoin::bech32

Function encode_without_checksum

pub fn encode_without_checksum<T>(hrp: &str, data: T) -> Result<String, Error>
where T: AsRef<[u5]>,
Expand description

Encode a bech32 payload to string without the checksum.

§Errors

  • If [check_hrp] returns an error for the given HRP.

§Deviations from standard

  • No length limits are enforced for the data part