Skip to content
Snippets Groups Projects
Commit 33d3c912 authored by Jake Taylor's avatar Jake Taylor
Browse files

id space fix

parent dc4fe083
Branches
Tags
2 merge requests!170Release,!144attempt to fix GetRoundResults by making the follower only send one RoundEvent...
......@@ -223,6 +223,11 @@ func (m *manager) follow(report interfaces.ClientErrorReport, rng csprng.Source,
}
}
// Update the address space size
if len(m.Instance.GetPartialNdf().Get().AddressSpace) != 0 {
m.addrSpace.Update(m.Instance.GetPartialNdf().Get().AddressSpace[0].Size)
}
// NOTE: this updates rounds and updates the tracking of the health of the network
if pollResp.Updates != nil {
// TODO: ClientErr needs to know the source of the error and it doesn't yet
......
......@@ -105,6 +105,7 @@ func NewManager(session *storage.Session, switchboard *switchboard.Switchboard,
events: events,
earliestRound: &earliest,
}
m.addrSpace.Update(18)
if params.VerboseRoundTracking {
m.verboseRounds = NewRoundTracker()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment