diff --git a/chanfitness/chanevent.go b/chanfitness/chanevent.go index 0dc4b29da..b829a6c30 100644 --- a/chanfitness/chanevent.go +++ b/chanfitness/chanevent.go @@ -404,7 +404,7 @@ func (p *peerLog) uptime(start, end time.Time) (time.Duration, error) { p.start = start } - // If the online period ends before our range, shift the end + // If the online period ends after our range, shift the end // time forward so that we only calculate uptime until the end // of the range. if p.end.After(end) { diff --git a/sample-lnd.conf b/sample-lnd.conf index 72bb189a2..6c74ade60 100644 --- a/sample-lnd.conf +++ b/sample-lnd.conf @@ -81,7 +81,7 @@ ; is only requested and stored when the first rpc connection comes in. ; letsencryptdomain=example.com -; Disable macaroon authentication. Macaroons are used are bearer credentials to +; Disable macaroon authentication. Macaroons are used as bearer credentials to ; authenticate all RPC access. If one wishes to opt out of macaroons, uncomment ; the line below. ; no-macaroons=true