Skip to content

Commit

Permalink
update params of request (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
calmbeing authored Jun 12, 2023
1 parent 6546f55 commit 6da3fa5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions turbo/stages/headerdownload/header_algos.go
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ func (hd *HeaderDownload) RequestMoreHeaders(currentTime time.Time) (*HeaderRequ
Number: anchor.blockHeight - 1,
Length: 192,
Skip: 0,
Reverse: false,
Reverse: true,
}
return false
})
Expand Down Expand Up @@ -468,7 +468,7 @@ func (hd *HeaderDownload) UpdateStats(req *HeaderRequest, skeleton bool, peer [6
}
}
}
//log.Debug("Header request sent", "req", fmt.Sprintf("%+v", req), "peer", fmt.Sprintf("%x", peer)[:8])
log.Debug("Header request sent", "req", fmt.Sprintf("%+v", req), "peer", fmt.Sprintf("%x", peer)[:8])
}

func (hd *HeaderDownload) UpdateRetryTime(req *HeaderRequest, currentTime time.Time, timeout time.Duration) {
Expand Down

0 comments on commit 6da3fa5

Please sign in to comment.