mirror of
https://source.quilibrium.com/quilibrium/ceremonyclient.git
synced 2024-12-25 16:15:17 +00:00
adjust missing merge data
This commit is contained in:
parent
823d095e53
commit
83c8c4cae1
@ -213,8 +213,8 @@ func (e *MasterClockConsensusEngine) handleClockFramesRequest(
|
||||
to = request.FromFrameNumber + 127
|
||||
}
|
||||
|
||||
if int(to) > len(e.historicFrames)-1 {
|
||||
to = uint64(len(e.historicFrames) - 1)
|
||||
if int(to) > int(e.latestFrame.FrameNumber) {
|
||||
to = e.latestFrame.FrameNumber
|
||||
}
|
||||
|
||||
e.logger.Info(
|
||||
|
Loading…
Reference in New Issue
Block a user