Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
noot committed Nov 8, 2021
1 parent 67f59cc commit 941f954
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions dot/state/block_finalisation.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@ func (bs *BlockState) SetFinalisedHash(hash common.Hash, round, setID uint64) er
continue
}

// blocks were deleted from the unfinalisedBlockMap in `handleFinalisedBlock()`
logger.Trace("pruned block", "hash", hash, "number", block.Header.Number)

go func(header *types.Header) {
Expand Down Expand Up @@ -195,7 +194,6 @@ func (bs *BlockState) SetFinalisedHash(hash common.Hash, round, setID uint64) er
return fmt.Errorf("could not send 'notify.finalized' telemetry message, error: %s", err)
}

// return bs.setHighestRoundAndSetID(round, setID)
bs.lastFinalised = hash
return nil
}
Expand Down

0 comments on commit 941f954

Please sign in to comment.