aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRunchao Han <elvisage941102@gmail.com>2019-04-02 18:01:02 +0800
committerPéter Szilágyi <peterke@gmail.com>2019-04-02 18:01:02 +0800
commitc4109d790ffd26d67feb7745d4af8a8bc5090bd9 (patch)
tree1b4fb3f1a00e189252f6eef1d74b905b1d565f11
parent6caf35684d1f0faceb80f2edda468eb03daffb8d (diff)
downloadgo-tangerine-c4109d790ffd26d67feb7745d4af8a8bc5090bd9.tar
go-tangerine-c4109d790ffd26d67feb7745d4af8a8bc5090bd9.tar.gz
go-tangerine-c4109d790ffd26d67feb7745d4af8a8bc5090bd9.tar.bz2
go-tangerine-c4109d790ffd26d67feb7745d4af8a8bc5090bd9.tar.lz
go-tangerine-c4109d790ffd26d67feb7745d4af8a8bc5090bd9.tar.xz
go-tangerine-c4109d790ffd26d67feb7745d4af8a8bc5090bd9.tar.zst
go-tangerine-c4109d790ffd26d67feb7745d4af8a8bc5090bd9.zip
core: fix typo in insertChain method doc (#19371)
-rw-r--r--core/blockchain.go2
1 files changed, 1 insertions, 1 deletions
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