eth/downloader: Changed the time threshold to 10 minutes

This commit is contained in:
Lucas Hendren 2018-12-22 17:52:07 -05:00
parent 1008f2559b
commit 965da6938a

View file

@ -1562,7 +1562,7 @@ func (d *Downloader) processFastSyncContent(latest *types.Header) error {
if err := d.importBlockResults(afterP); err != nil {
return err
}
if 4400000 > time.Now().Unix()-latest.Time.Int64() {
if 600 > time.Now().Unix()-latest.Time.Int64() {
d.mux.Post(BlockEvent{})
}
}