Skip to content

Commit c4109d7

Browse files
SebastianElviskaralabe
authored andcommitted
core: fix typo in insertChain method doc (#19371)
1 parent 6caf356 commit c4109d7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎core/blockchain.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1138,7 +1138,7 @@ func (bc *BlockChain) InsertChain(chain types.Blocks) (int, error) {
11381138
return n, err
11391139
}
11401140

1141-
// insertChain is the internal implementation of insertChain, which assumes that
1141+
// insertChain is the internal implementation of InsertChain, which assumes that
11421142
// 1) chains are contiguous, and 2) The chain mutex is held.
11431143
//
11441144
// This method is split out so that import batches that require re-injecting

0 commit comments

Comments
 (0)