blockchain: Correct chainview locator comment.

This commit is contained in:
Dave Collins 2017-08-21 11:00:06 -05:00
parent 991a72e34e
commit 2d84a74d28
No known key found for this signature in database
GPG key ID: B8904D9D9C93D1F2

View file

@ -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 {