Skip to content

Commit 32b441d

Browse files
authored
Fix lint 2
1 parent 222e980 commit 32b441d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

specs/electra/beacon-chain.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,8 @@ def compute_proposer_index(state: BeaconState, indices: Sequence[ValidatorIndex]
447447
candidate_index = indices[compute_shuffled_index(i % total, total, seed)]
448448
random_byte = hash(seed + uint_to_bytes(uint64(i // 32)))[i % 32]
449449
effective_balance = state.validators[candidate_index].effective_balance
450-
if effective_balance * MAX_RANDOM_BYTE >= MAX_EFFECTIVE_BALANCE_ELECTRA * random_byte: # [Modified in Electra:EIP7251]
450+
# [Modified in Electra:EIP7251]
451+
if effective_balance * MAX_RANDOM_BYTE >= MAX_EFFECTIVE_BALANCE_ELECTRA * random_byte:
451452
return candidate_index
452453
i += 1
453454
```

0 commit comments

Comments
 (0)