Skip to content

Commit

Permalink
blockchain: Correct chainview locator comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
davecgh committed Aug 21, 2017
1 parent 991a72e commit 2d84a74
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions blockchain/chainview.go
Original file line number Diff line number Diff line change
Expand Up @@ -390,10 +390,10 @@ func (c *chainView) blockLocator(node *blockNode) BlockLocator {

// BlockLocator returns a block locator for the passed block node. The passed
// node can be nil in which case the block locator for the current tip
// associated with the view will be returned. This only differs from the
// exported version in that it is up to the caller to ensure the lock is held.
// associated with the view will be returned.
//
// See BlockLocator for details on the algorithm used to create a block locator.
// See the BlockLocator type for details on the algorithm used to create a block
// locator.
//
// This function is safe for concurrent access.
func (c *chainView) BlockLocator(node *blockNode) BlockLocator {
Expand Down

0 comments on commit 2d84a74

Please sign in to comment.