From c4109d790ffd26d67feb7745d4af8a8bc5090bd9 Mon Sep 17 00:00:00 2001 From: Runchao Han Date: Tue, 2 Apr 2019 21:01:02 +1100 Subject: [PATCH] core: fix typo in insertChain method doc (#19371) --- core/blockchain.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/blockchain.go b/core/blockchain.go index 745f67d8c..843247c71 100644 --- a/core/blockchain.go +++ b/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