Skip to content

Commit 3520bba

Browse files
committed
Add temporary fix to currentDifficulty field. (linting fix).
1 parent 9acb24b commit 3520bba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/statetest/statetest_loader.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@ state::BlockInfo from_json<state::BlockInfo>(const json::json& j)
159159
else if (current_difficulty_it != j.end())
160160
// Special case to handle "0x0". Required by exec-spec-tests.
161161
// TODO: Get rid of it.
162-
if (current_difficulty_it->is_string()
163-
&& current_difficulty_it->get<std::string>() == "0x0")
162+
if (current_difficulty_it->is_string() &&
163+
current_difficulty_it->get<std::string>() == "0x0")
164164
difficulty = 0x0000000000000000000000000000000000000000000000000000000000000000_bytes32;
165165
else
166166
difficulty = from_json<evmc::bytes32>(*current_difficulty_it);

0 commit comments

Comments
 (0)