Friendly lint fix
This commit is contained in:
parent
378d249487
commit
479c40450d
|
@ -378,7 +378,8 @@ def on_block(store: Store, signed_block: SignedBeaconBlock) -> None:
|
||||||
# or if store justified is not in chain with finalized checkpoint
|
# or if store justified is not in chain with finalized checkpoint
|
||||||
if (
|
if (
|
||||||
state.current_justified_checkpoint.epoch > store.justified_checkpoint.epoch
|
state.current_justified_checkpoint.epoch > store.justified_checkpoint.epoch
|
||||||
or get_ancestor(store, store.justified_checkpoint.root, finalized_slot) != store.finalized_checkpoint.root
|
or get_ancestor(
|
||||||
|
store, store.justified_checkpoint.root, finalized_slot) != store.finalized_checkpoint.root
|
||||||
):
|
):
|
||||||
store.justified_checkpoint = state.current_justified_checkpoint
|
store.justified_checkpoint = state.current_justified_checkpoint
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue