mirror of
https://github.com/logos-blockchain/logos-blockchain-specs.git
synced 2026-03-19 02:03:08 +00:00
cryptarchia/ghost: remove redundant check
This commit is contained in:
parent
363ca76ff6
commit
d1b567835f
@ -552,11 +552,6 @@ class Follower:
|
||||
|
||||
orphans = []
|
||||
for fork in [self.local_chain, *self.forks]:
|
||||
if fork.block_position(tip_state.block.id()) is not None:
|
||||
# the tip is a member of this fork, it doesn't make sense
|
||||
# to take orphans from this fork as they are all already "imported"
|
||||
continue
|
||||
|
||||
for block in fork.blocks:
|
||||
for b in [*block.orphaned_proofs, block]:
|
||||
if b.leader_proof.nullifier not in tip_state.nullifiers:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user