Commit ad5940f3 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent ae042175
......@@ -158,6 +158,8 @@ func (node *_MasteredNode) talkMaster1(ctx, ctxPreTalkM context.Context, f func(
log.Infof(ctx, "master %s told us to be %s", accept.MyNID, accept.YourNID)
node.modifyState(func(s *xneo.State) {
s.MyNID = accept.YourNID
// XXX extract ID time ?
// XXX if our ID changed - reset links to all peers ?
})
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment