make it wait until one after

This commit is contained in:
Cassandra Heart 2024-11-19 00:04:43 -06:00
parent 0ef042c893
commit a1e10b2d38
No known key found for this signature in database
GPG Key ID: 6352152859385958

View File

@ -69,7 +69,7 @@ func (e *DataClockConsensusEngine) runFramePruning() {
}
if head.FrameNumber < uint64(e.config.Engine.MaxFrames)+1 ||
head.FrameNumber <= application.PROOF_FRAME_SENIORITY_REPAIR {
head.FrameNumber <= application.PROOF_FRAME_SENIORITY_REPAIR+1 {
continue
}