diff --git a/turbo/stages/headerdownload/header_algos.go b/turbo/stages/headerdownload/header_algos.go index 22aac5d907a2e0759ba7a37e8d26bf815dd1ddd5..2c212d37b5768133095e32e7d3ff9e6b5b077949 100644 --- a/turbo/stages/headerdownload/header_algos.go +++ b/turbo/stages/headerdownload/header_algos.go @@ -296,9 +296,9 @@ func (hd *HeaderDownload) logAnchorState() { sb.WriteString(fmt.Sprintf(", anchorQueue.idx=%d", anchor.idx)) ss = append(ss, sb.String()) } + log.Info("anchorQueue", "len", hd.anchorQueue.Len()) sort.Strings(ss) for _, s := range ss { - log.Info("anchorQueue", "len", hd.anchorQueue.Len()) log.Info(s) } }