From e05f45beb0367559cab7fd7cb4313308165455e3 Mon Sep 17 00:00:00 2001 From: Tamas Blummer Date: Sun, 11 Feb 2018 14:01:41 +0100 Subject: [PATCH] fixing debug output for Uint256 and Uint128 --- src/util/uint.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(()) }