瀏覽代碼

core: fix typo in insertChain method doc (#19371)

Runchao Han 6 年之前
父節點
當前提交
c4109d790f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/blockchain.go

+ 1 - 1
core/blockchain.go

@@ -1138,7 +1138,7 @@ func (bc *BlockChain) InsertChain(chain types.Blocks) (int, error) {
 	return n, err
 }
 
-// insertChain is the internal implementation of insertChain, which assumes that
+// insertChain is the internal implementation of InsertChain, which assumes that
 // 1) chains are contiguous, and 2) The chain mutex is held.
 //
 // This method is split out so that import batches that require re-injecting