mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: include typename in assert (#13595)
This commit is contained in:
@ -269,7 +269,7 @@ where
|
||||
|
||||
let (reconstructed, _) = T::from_compact(&compact_bytes, len_or_identifier);
|
||||
reconstructed.to_compact(&mut buffer);
|
||||
assert_eq!(buffer, compact_bytes);
|
||||
assert_eq!(buffer, compact_bytes, "mismatch {}", type_name);
|
||||
}
|
||||
|
||||
println!(" ✅");
|
||||
|
||||
Reference in New Issue
Block a user