Add back effective balance initialisation
This commit is contained in:
parent
d329e90aa5
commit
b582afed84
|
@ -1691,6 +1691,7 @@ def process_deposit(state: BeaconState, deposit: Deposit) -> None:
|
|||
activation_epoch=FAR_FUTURE_EPOCH,
|
||||
exit_epoch=FAR_FUTURE_EPOCH,
|
||||
withdrawable_epoch=FAR_FUTURE_EPOCH,
|
||||
effective_balance=min(amount - amount % EFFECTIVE_BALANCE_INCREMENT, MAX_EFFECTIVE_BALANCE),
|
||||
))
|
||||
state.balances.append(amount)
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue