Skip to content
This repository has been archived by the owner on Oct 28, 2021. It is now read-only.

Commit

Permalink
Merge pull request #5081 from ethereum/fixes
Browse files Browse the repository at this point in the history
a precompiled contract in genesis could have balance
  • Loading branch information
winsvega committed Jun 20, 2018
2 parents 6bac172 + c09244b commit d661ac4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libethereum/ValidationSchemes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@ void validateAccountObj(js::mObject const& _obj)
// A precompiled contract
requireJsonFields(_obj, "validateAccountObj",
{{c_precompiled, {{js::obj_type}, JsonFieldPresence::Required}},
{c_wei, {{js::str_type}, JsonFieldPresence::Optional}}});
{c_wei, {{js::str_type}, JsonFieldPresence::Optional}},
{c_balance, {{js::str_type}, JsonFieldPresence::Optional}}});
}
else if (_obj.size() == 1)
{
Expand Down

0 comments on commit d661ac4

Please sign in to comment.