pub fn decode_bech32( expected_hrp: &str, s: &str, ) -> EncodingResult<(u8, Vec<u8>)>
Decode a witness program from a bech32 string. Caller specifies an expected HRP. If a different HRP is found, returns WrongHrp.
WrongHrp