From 48be9261ef5fa5eaf59b3b952474fd53f81eacf9 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Thu, 10 Aug 2017 22:07:15 -0700 Subject: [PATCH] autopilot: fix linter error --- autopilot/prefattach.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/autopilot/prefattach.go b/autopilot/prefattach.go index 50f9d227a..95a6c90b6 100644 --- a/autopilot/prefattach.go +++ b/autopilot/prefattach.go @@ -29,10 +29,10 @@ type ConstrainedPrefAttachment struct { threshold float64 } -// NewPrefAttchment creates a new instance of a ConstrainedPrefAttachment -// heuristics given bounds on allowed channel sizes, and an allocation amount -// which is interpreted as a percentage of funds that is to be committed to -// channels at all times. +// NewConstrainedPrefAttachment creates a new instance of a +// ConstrainedPrefAttachment heuristics given bounds on allowed channel sizes, +// and an allocation amount which is interpreted as a percentage of funds that +// is to be committed to channels at all times. func NewConstrainedPrefAttachment(minChanSize, maxChanSize btcutil.Amount, chanLimit uint16, allocation float64) *ConstrainedPrefAttachment { @@ -96,7 +96,7 @@ func (p *ConstrainedPrefAttachment) NeedMoreChans(channels []Channel, return fundsAvailable, true } -// nodeID is a simple type that holds a EC public key serialized in compressed +// NodeID is a simple type that holds a EC public key serialized in compressed // format. type NodeID [33]byte