Skip to content

Commit

Permalink
Merge branch 'remove-block-lookup-2' into remove-status-usage
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenButtolph authored Jun 24, 2024
2 parents cfc4367 + 61f6c42 commit d3c8424
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 @@ -1144,7 +1144,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 d3c8424

Please sign in to comment.