Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
jimjbrettj committed Feb 6, 2024
1 parent ccbdce9 commit 53a8579
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion dot/sync/chain_sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,6 @@ func (cs *chainSync) onBlockAnnounceHandshake(who peer.ID, bestHash common.Hash,

func (cs *chainSync) onBlockAnnounce(announced announcedBlock) error {
// TODO: https://github.com/ChainSafe/gossamer/issues/3432
//cs.workerPool.fromBlockAnnounce(announced.who)
if cs.pendingBlocks.hasBlock(announced.header.Hash()) {
return fmt.Errorf("%w: block #%d (%s)",
errAlreadyInDisjointSet, announced.header.Number, announced.header.Hash())
Expand Down

0 comments on commit 53a8579

Please # to comment.