Skip to content
Snippets Groups Projects
Commit d4abb75c authored by benjamin's avatar benjamin
Browse files

fixed skew application

parent 9cccfb7a
No related branches found
No related tags found
3 merge requests!510Release,!419rewrote the health tracker to both consider if there are waiting rounds and...,!340Project/channels
...@@ -127,7 +127,8 @@ func (c *client) followNetwork(report ClientErrorReport, ...@@ -127,7 +127,8 @@ func (c *client) followNetwork(report ClientErrorReport,
//update clock skew //update clock skew
estimatedSkew := c.skewTracker.Aggregate() estimatedSkew := c.skewTracker.Aggregate()
netTime.SetOffset(estimatedSkew) // invert the skew because we need to reverse it
netTime.SetOffset(-estimatedSkew)
if err != nil { if err != nil {
jww.ERROR.Printf("failed to operate on identities to "+ jww.ERROR.Printf("failed to operate on identities to "+
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment