eth: check if downloader is busy before showing log message
This commit is contained in:
@ -472,3 +472,7 @@ func (d *Downloader) isProcessing() bool {
|
||||
func (d *Downloader) isBusy() bool {
|
||||
return d.isFetchingHashes() || d.isDownloadingBlocks() || d.isProcessing()
|
||||
}
|
||||
|
||||
func (d *Downloader) IsBusy() bool {
|
||||
return d.isBusy()
|
||||
}
|
||||
|
Reference in New Issue
Block a user