mirror of
https://source.quilibrium.com/quilibrium/ceremonyclient.git
synced 2024-11-14 04:05: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
|
to = request.FromFrameNumber + 127
|
||||||
}
|
}
|
||||||
|
|
||||||
if int(to) > len(e.historicFrames)-1 {
|
if int(to) > int(e.latestFrame.FrameNumber) {
|
||||||
to = uint64(len(e.historicFrames) - 1)
|
to = e.latestFrame.FrameNumber
|
||||||
}
|
}
|
||||||
|
|
||||||
e.logger.Info(
|
e.logger.Info(
|
||||||
|
Loading…
Reference in New Issue
Block a user