Browse Source

Merge #505

cl-refactor
Gav Wood 10 years ago
parent
commit
4fa7cbb6ac
  1. 3
      libethereum/State.cpp

3
libethereum/State.cpp

@ -1195,7 +1195,10 @@ bool State::call(Address _receiveAddress, Address _codeAddress, Address _senderA
if (it != c_precompiled.end())
{
if (*_gas < it->second.gas)
{
*_gas = 0;
return false;
}
*_gas -= it->second.gas;
it->second.exec(_data, _out);

Loading…
Cancel
Save