Browse Source

Fix for precompiled contracts.

cl-refactor
Gav Wood 10 years ago
parent
commit
03bee4432e
  1. 3
      libethereum/Precompiled.cpp

3
libethereum/Precompiled.cpp

@ -81,7 +81,8 @@ void ripemd160Code(bytesConstRef _in, bytesRef _out)
void identityCode(bytesConstRef _in, bytesRef _out)
{
_in.copyTo(_out);
bytes b = _in.toBytes();
memcpy(_out.data(), b.data(), min(_out.size(), b.size()));
}
}

Loading…
Cancel
Save