diff --git a/src/util/uint.rs b/src/util/uint.rs index 19c90fa1..12aa5089 100644 --- a/src/util/uint.rs +++ b/src/util/uint.rs @@ -312,7 +312,7 @@ macro_rules! construct_uint { let &$name(ref data) = self; try!(write!(f, "0x")); for ch in data.iter().rev() { - try!(write!(f, "{:02x}", ch)); + try!(write!(f, "{:016x}", ch)); } Ok(()) }