miner: fix tiny typo

This commit is contained in:
Péter Szilágyi 2020-05-12 12:27:20 +03:00 committed by GitHub
parent 924b5e8285
commit aeda9e4f67
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -497,7 +497,7 @@ func (w *worker) mainLoop() {
w.updateSnapshot() w.updateSnapshot()
} }
} else { } else {
// Speical case, if the consensus engine is 0 period clique(dev mode), // Special case, if the consensus engine is 0 period clique(dev mode),
// submit mining work here since all empty submission will be rejected // submit mining work here since all empty submission will be rejected
// by clique. Of course the advance sealing(empty submission) is disabled. // by clique. Of course the advance sealing(empty submission) is disabled.
if w.chainConfig.Clique != nil && w.chainConfig.Clique.Period == 0 { if w.chainConfig.Clique != nil && w.chainConfig.Clique.Period == 0 {