This commit is contained in:
Łukasz Magiera 2020-09-16 22:56:04 +02:00
parent 808051d34e
commit a6b7791d32

View File

@ -139,7 +139,7 @@ func (m *Miner) niceSleep(d time.Duration) bool {
case <-build.Clock.After(d): case <-build.Clock.After(d):
return true return true
case <-m.stop: case <-m.stop:
log.Infow("recieved interrupt while trying to sleep in mining cycle") log.Infow("received interrupt while trying to sleep in mining cycle")
return false return false
} }
} }