Skip to content

Commit

Permalink
bugfix: Fixed asking the blocks that have already been downloaded
Browse files Browse the repository at this point in the history
  • Loading branch information
gameofpointers committed Oct 10, 2024
1 parent 519be77 commit 95c94e7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion quai/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,6 @@ func (h *handler) checkNextPrimeBlock() {
// downloaded otherwise, download next 2 *
// protocol.C_NumPrimeBlocksToDownload
if i < 2*protocol.C_NumPrimeBlocksToDownload {
h.GetNextPrimeBlock(syncHeight)
h.GetNextPrimeBlock(syncHeight.Add(syncHeight, big.NewInt(protocol.C_NumPrimeBlocksToDownload)))
}
break
Expand Down

0 comments on commit 95c94e7

Please sign in to comment.