fixing debug output for Uint256 and Uint128
This commit is contained in:
parent
01e164025a
commit
e05f45beb0
|
@ -312,7 +312,7 @@ macro_rules! construct_uint {
|
||||||
let &$name(ref data) = self;
|
let &$name(ref data) = self;
|
||||||
try!(write!(f, "0x"));
|
try!(write!(f, "0x"));
|
||||||
for ch in data.iter().rev() {
|
for ch in data.iter().rev() {
|
||||||
try!(write!(f, "{:02x}", ch));
|
try!(write!(f, "{:016x}", ch));
|
||||||
}
|
}
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue