diff --git a/website/source/docs/internals/coordinates.html.markdown b/website/source/docs/internals/coordinates.html.markdown index 956c4926e..5560631cf 100644 --- a/website/source/docs/internals/coordinates.html.markdown +++ b/website/source/docs/internals/coordinates.html.markdown @@ -155,8 +155,6 @@ func dist(a *coordinate.Coordinate, b *coordinate.Coordinate) time.Duration { rtt = adjusted } - // Go's times are natively nanoseconds, so we convert from seconds. - const secondsToNanoseconds = 1.0e9 - return time.Duration(rtt * secondsToNanoseconds) + return time.Duration(rtt) * time.Second } ```