Browse Source

Update for poc6 change to storage of code. RLP of account code is empty when code is not present.

cl-refactor
subtly 11 years ago
parent
commit
7d54784cbe
  1. 3
      libethereum/State.cpp

3
libethereum/State.cpp

@ -1298,7 +1298,8 @@ std::ostream& dev::eth::operator<<(std::ostream& _out, State const& _s)
stringstream contout;
if ((!cache || cache->codeBearing()) && (!r || r[3].toHash<h256>() != EmptySHA3))
/// For POC6, 3rd value of account is code and will be empty if code is not present.
if ((!cache || cache->codeBearing()) && (!r || !r[3].isEmpty()))
{
std::map<u256, u256> mem;
std::set<u256> back;

Loading…
Cancel
Save