mirror of
https://github.com/vacp2p/mvds.git
synced 2026-01-09 12:07:55 -05:00
Set SendEpoch instead of cumulating it (#86)
`CalculateNextEpoch` should set `SendEpoch` instead of cumulating it.
This commit is contained in:
committed by
GitHub
parent
daa5e8b8a2
commit
d6b27d3843
@@ -728,6 +728,6 @@ func (n *Node) insertSyncState(groupID *state.GroupID, messageID state.MessageID
|
||||
|
||||
func (n *Node) updateSendEpoch(s state.State) state.State {
|
||||
s.SendCount += 1
|
||||
s.SendEpoch += n.nextEpoch(s.SendCount, n.epoch)
|
||||
s.SendEpoch = n.nextEpoch(s.SendCount, n.epoch)
|
||||
return s
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user