diff --git a/test_libs/pyspec/eth2spec/utils/merkle_minimal.py b/test_libs/pyspec/eth2spec/utils/merkle_minimal.py index 3f1f130a4..c508f0df2 100644 --- a/test_libs/pyspec/eth2spec/utils/merkle_minimal.py +++ b/test_libs/pyspec/eth2spec/utils/merkle_minimal.py @@ -41,7 +41,7 @@ def next_power_of_two(v: int) -> int: """ if v == 0: return 1 - return 1 << (v-1).bit_length() + return 1 << (v - 1).bit_length() def merkleize_chunks(chunks):