You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Human readable part of the message's bech32 encoding.
39
39
constBECH32_HRP:&'staticstr;
40
40
@@ -234,7 +234,7 @@ impl From<secp256k1::Error> for Bolt12ParseError {
234
234
mod bolt12_tests {
235
235
usesuper::Bolt12ParseError;
236
236
usecrate::offers::offer::Offer;
237
-
use bech32::primitives::decode::{CheckedHrpstringError,UncheckedHrpstringError,CharError};
237
+
use bech32::primitives::decode::{CharError,CheckedHrpstringError,UncheckedHrpstringError};
238
238
239
239
#[test]
240
240
fnencodes_offer_as_bech32_without_checksum(){
@@ -294,7 +294,12 @@ mod bolt12_tests {
294
294
let mixed_case_offer = "LnO1PqPs7sJqPgTyZm3qV4UxZmTsD3JjQeR9Wd3hY6TsW35k7mSjZfPy7nZ5YqCnYgRfDeJ82uM5Wf5k2uCkYyPwA3EyT44h6tXtXqUqH7Lz5dJgE4AfGfJn7k4rGrKuAg0jSd5xVxG";
let encoded_offer = "lno1pqps7sjqpgtyzm3qv4uxzmtsd3jjqer9wd3hy6tsw35k7msjzfpy7nz5yqcnygrfdej82um5wf5k2uckyypwa3eyt44h6txtxquqh7lz5djge4afgfjn7k4rgrkuag0jsd5xvxo";
0 commit comments