I am testing #188 in a downstream lib
|
/// Tried to parse fixed-length hash from a string with the wrong type (expected, got). |
I think the expected, got comment is wrong and the values used in the Display implementation are inverted.
I say so by looking at the macro impl after in a downstream lib I have this test failing to parse "aaaa" as asset id with
left: "bad hex string length 64 (expected 4)"
right: "bad hex string length 4 (expected 64)"
(the test was working with add54c8)
I am testing #188 in a downstream lib
rust-elements/src/hex.rs
Line 33 in 613204f
I think the
expected, gotcomment is wrong and the values used in the Display implementation are inverted.I say so by looking at the macro impl after in a downstream lib I have this test failing to parse "aaaa" as asset id with
(the test was working with add54c8)