From 5e7459cd512a881cc655974caa36a597f5a0cfe1 Mon Sep 17 00:00:00 2001 From: Bruce Riley Date: Thu, 27 Jun 2024 16:07:52 -0500 Subject: [PATCH] Make devnet already cutover --- node/pkg/p2p/gossip_cutover.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/node/pkg/p2p/gossip_cutover.go b/node/pkg/p2p/gossip_cutover.go index 44564b25c0..c7a0311fa5 100644 --- a/node/pkg/p2p/gossip_cutover.go +++ b/node/pkg/p2p/gossip_cutover.go @@ -11,8 +11,8 @@ import ( // The format of this time is very picky. Please use the exact format specified by cutOverFmtStr! const mainnetCutOverTimeStr = "" -const testnetCutOverTimeStr = "2024-11-07T14:00:00-0000" -const devnetCutOverTimeStr = "2026-06-01T00:00:00-0000" +const testnetCutOverTimeStr = "" +const devnetCutOverTimeStr = "2024-06-01T00:00:00-0000" const cutOverFmtStr = "2006-01-02T15:04:05-0700" // gossipCutoverCompleteFlag indicates if the cutover time has passed, meaning we should publish only on the new topics. @@ -41,7 +41,7 @@ func evaluateGossipCutOver(logger *zap.Logger, networkID string) error { go func() { time.Sleep(delay) logger.Info("time to cut over to new gossip topics", zap.String("cutOverTime", cutOverTimeStr), zap.String("component", "p2pco")) - gossipCutoverCompleteFlag.Store(sco) + gossipCutoverCompleteFlag.Store(true) }() }