Skip to content

Commit

Permalink
Merge branch 'improve-was-issued' into remove-block-lookup-2
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenButtolph authored Jun 24, 2024
2 parents fb7b550 + 0fdca3e commit 61f6c42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snow/engine/snowman/transitive.go
Original file line number Diff line number Diff line change
Expand Up @@ -1162,7 +1162,7 @@ func (t *Transitive) shouldIssueBlock(blk snowman.Block) bool {

blkID := blk.ID()
_, isPending := t.pending[blkID]
return !isPending && // If the block is already enqueued to be issued, don't enqueue it again.
return !isPending && // If the block is already pending, don't issue it again.
!t.Consensus.Processing(blkID) // If the block was previously issued, don't issue it again.
}

Expand Down

0 comments on commit 61f6c42

Please sign in to comment.