From 8ee607ce4848dc812ac5f7569d637c35781b87e4 Mon Sep 17 00:00:00 2001 From: Runchao Han Date: Tue, 2 Apr 2019 20:20:26 +1100 Subject: [PATCH] typo of insertChain --- core/blockchain.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/blockchain.go b/core/blockchain.go index 745f67d8c0..843247c711 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