Browse Source

Change in formatting storage values.

cl-refactor
yann300 10 years ago
parent
commit
2ff89547d6
  1. 4
      libethcore/CommonJS.cpp

4
libethcore/CommonJS.cpp

@ -117,9 +117,9 @@ std::string prettyU256(u256 _n, bool _abridged)
n = toHex(a.ref()); n = toHex(a.ref());
if (n.empty()) if (n.empty())
s << "0x" << a; s << "0x0";
else else
s << n << "(0x" << n << ")"; s << "0x" << n <<;
} }
else if ((raw = fromRaw((h256)_n, &inc)).size()) else if ((raw = fromRaw((h256)_n, &inc)).size())
return "\"" + raw + "\"" + (inc ? " + " + std::to_string(inc) : ""); return "\"" + raw + "\"" + (inc ? " + " + std::to_string(inc) : "");

Loading…
Cancel
Save