From 2ff89547d6013a84dbfe78ae06909a7911d2930c Mon Sep 17 00:00:00 2001 From: yann300 Date: Fri, 13 Feb 2015 16:48:40 +0100 Subject: [PATCH] Change in formatting storage values. --- libethcore/CommonJS.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libethcore/CommonJS.cpp b/libethcore/CommonJS.cpp index aa39c8e0c..cc63785bc 100644 --- a/libethcore/CommonJS.cpp +++ b/libethcore/CommonJS.cpp @@ -117,9 +117,9 @@ std::string prettyU256(u256 _n, bool _abridged) n = toHex(a.ref()); if (n.empty()) - s << "0x" << a; + s << "0x0"; else - s << n << "(0x" << n << ")"; + s << "0x" << n <<; } else if ((raw = fromRaw((h256)_n, &inc)).size()) return "\"" + raw + "\"" + (inc ? " + " + std::to_string(inc) : "");