consensus: fix comment typo (#17562)

This commit is contained in:
ult-bobonovski 2018-09-03 22:49:00 +08:00 committed by Felix Lange
parent 5c0954afff
commit 992b77992f

View File

@ -90,7 +90,7 @@ type Engine interface {
// the result into the given channel. // the result into the given channel.
// //
// Note, the method returns immediately and will send the result async. More // Note, the method returns immediately and will send the result async. More
// than one result may also be returned depending on the consensus algorothm. // than one result may also be returned depending on the consensus algorithm.
Seal(chain ChainReader, block *types.Block, results chan<- *types.Block, stop <-chan struct{}) error Seal(chain ChainReader, block *types.Block, results chan<- *types.Block, stop <-chan struct{}) error
// SealHash returns the hash of a block prior to it being sealed. // SealHash returns the hash of a block prior to it being sealed.