fixing debug output for Uint256 and Uint128

This commit is contained in:
Tamas Blummer 2018-02-11 14:01:41 +01:00
parent 01e164025a
commit e05f45beb0
1 changed files with 1 additions and 1 deletions

View File

@ -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(())
}