Skip to content

Commit

Permalink
core: fix typo in insertChain method doc (#19371)
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianElvis authored and karalabe committed Apr 2, 2019
1 parent 6caf356 commit c4109d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/blockchain.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c4109d7

Please sign in to comment.