fix typos [skip ci]

This commit is contained in:
Hitanshu Mehta committed 2022-04-11 18:26:54 +05:30
1 parent 8109c9ccf1
commit 3dc5ddc168
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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) {