mirror of
https://github.com/vacp2p/mvds.git
synced 2026-01-08 22:27:55 -05:00
Set SendEpoch instead of cumulating it
`CalculateNextEpoch` should set `SendEpoch` instead of cumulating it.
This commit is contained in:
@@ -545,7 +545,7 @@ 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