mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 19:50:36 +00:00
Update header_algos.go
This commit is contained in:
parent
158a738ad0
commit
f634314226
@ -238,8 +238,8 @@ func (hd *HeaderDownload) removeUpwards(toRemove []*Link) {
|
||||
func (hd *HeaderDownload) MarkPreverified(link *Link) {
|
||||
// Go through all parent links that are not preverified and mark them too
|
||||
for link != nil && !link.verified {
|
||||
link.verified = true
|
||||
if !link.persisted {
|
||||
link.verified = true
|
||||
hd.moveLinkToQueue(link, InsertQueueID)
|
||||
}
|
||||
link = hd.links[link.header.ParentHash]
|
||||
|
Loading…
Reference in New Issue
Block a user