mirror of
https://github.com/QuilibriumNetwork/ceremonyclient.git
synced 2026-02-21 10:27:26 +08:00
1, not 2
This commit is contained in:
parent
7a1ba529b0
commit
c0f4b1b177
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user