mirror of
https://github.com/status-im/consul.git
synced 2025-02-04 01:43:43 +00:00
Zeroes out the height when testing exact distances.
This commit is contained in:
parent
384d99677d
commit
80d5a3029f
@ -20,6 +20,7 @@ import (
|
||||
func generateCoordinate(rtt time.Duration) *coordinate.Coordinate {
|
||||
coord := coordinate.NewCoordinate(coordinate.DefaultConfig())
|
||||
coord.Vec[0] = rtt.Seconds()
|
||||
coord.Height = 0
|
||||
return coord
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user