From e39bac394e3f8e27b7fb8ce389992391d05977e0 Mon Sep 17 00:00:00 2001 From: khadar vali Date: Mon, 10 Feb 2025 19:14:36 +0530 Subject: [PATCH] test: Remove hex validation check This removes the validation check in hex as discussed in issues #351 and #324. --- tests/tests/src/lampo_tests.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/tests/src/lampo_tests.rs b/tests/tests/src/lampo_tests.rs index 324c566..a288706 100644 --- a/tests/tests/src/lampo_tests.rs +++ b/tests/tests/src/lampo_tests.rs @@ -529,8 +529,5 @@ pub fn decode_offer_hex() -> error::Result<()> { decode.offer_id, "34460869549e37748ceaabdcff6284a98266c18052ab2a7e9eb5a1af0a5e5b7d" ); - // Checks if all the character inside the offer_id is hex. - let res = decode.offer_id.chars().all(|c| c.is_ascii_hexdigit()); - assert!(res); Ok(()) }