From 3dc5ddc16891bd718ea977dadd6f30fa59e21726 Mon Sep 17 00:00:00 2001 From: Hitanshu Mehta Date: Tue, 5 Apr 2022 09:38:36 +0530 Subject: [PATCH] fix typos [skip ci] --- chanfitness/chanevent.go | 2 +- sample-lnd.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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