We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9acb24b commit 3520bbaCopy full SHA for 3520bba
test/statetest/statetest_loader.cpp
@@ -159,8 +159,8 @@ state::BlockInfo from_json<state::BlockInfo>(const json::json& j)
159
else if (current_difficulty_it != j.end())
160
// Special case to handle "0x0". Required by exec-spec-tests.
161
// TODO: Get rid of it.
162
- if (current_difficulty_it->is_string()
163
- && current_difficulty_it->get<std::string>() == "0x0")
+ if (current_difficulty_it->is_string() &&
+ current_difficulty_it->get<std::string>() == "0x0")
164
difficulty = 0x0000000000000000000000000000000000000000000000000000000000000000_bytes32;
165
else
166
difficulty = from_json<evmc::bytes32>(*current_difficulty_it);
0 commit comments