From 057e248076977be8dd4e72bf89e6fdcffcaaa1bf Mon Sep 17 00:00:00 2001 From: jacklevin74 Date: Mon, 29 Jan 2024 12:04:18 -1000 Subject: [PATCH] Update hooks.go remove small set Vals --- gossip/emitter/hooks.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gossip/emitter/hooks.go b/gossip/emitter/hooks.go index 22f5d9ee9..ed10814fe 100644 --- a/gossip/emitter/hooks.go +++ b/gossip/emitter/hooks.go @@ -56,12 +56,12 @@ func (em *Emitter) OnNewEpoch(newValidators *pos.Validators, newEpoch idx.Epoch) em.syncStatus.becameValidator = time.Now() } - small_set:=isOdd(newEpoch) - - if small_set { - newValidators = mutateValidators(newValidators) - } + //small_set:=isOdd(newEpoch) + //if small_set { + // newValidators = mutateValidators(newValidators) + //} + small_set:=false fmt.Printf("Epoch: %v, small_set: %v vals: %v\n", newEpoch, small_set, newValidators.SortedIDs()) em.validators, em.epoch = newValidators, newEpoch