This commit is contained in:
Cassandra Heart 2024-11-11 15:53:28 -06:00
parent 7a1ba529b0
commit c0f4b1b177
No known key found for this signature in database
GPG Key ID: 6352152859385958

View File

@ -835,8 +835,8 @@ func ProcessJoinsAndLeaves(
}
if frame.FrameNumber > application.PROOF_FRAME_RING_RESET {
if len(app.Tries) > 2 {
for _, t := range app.Tries[2:] {
if len(app.Tries) >= 2 {
for _, t := range app.Tries[1:] {
nodes := t.FindNearestAndApproximateNeighbors(make([]byte, 32))
for _, n := range nodes {
if n.External.LatestFrame < frame.FrameNumber-1000 {