Skip to content

Commit

Permalink
test: Remove hex validation check
Browse files Browse the repository at this point in the history
This removes the validation check in hex as discussed in issues #351 and #324.
  • Loading branch information
khadar vali authored and vincenzopalazzo committed Feb 17, 2025
1 parent 7edd30b commit e39bac3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/tests/src/lampo_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(())
}

0 comments on commit e39bac3

Please sign in to comment.