瀏覽代碼

consensus: fix comment typo (#17562)

ult-bobonovski 7 年之前
父節點
當前提交
992b77992f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      consensus/consensus.go

+ 1 - 1
consensus/consensus.go

@@ -90,7 +90,7 @@ type Engine interface {
 	// the result into the given channel.
 	//
 	// 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
 
 	// SealHash returns the hash of a block prior to it being sealed.