From 9fd4c7d6e123201b0437473d18539510329bc756 Mon Sep 17 00:00:00 2001 From: Josh Siegel Date: Thu, 27 Oct 2022 11:12:14 +0000 Subject: [PATCH] minimal-tilt-fix: Lets make this ready even if the chain is not ticking --- node/pkg/watchers/algorand/watcher.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/pkg/watchers/algorand/watcher.go b/node/pkg/watchers/algorand/watcher.go index 456adce6f..0d3fa1ad9 100644 --- a/node/pkg/watchers/algorand/watcher.go +++ b/node/pkg/watchers/algorand/watcher.go @@ -239,7 +239,6 @@ func (e *Watcher) Run(ctx context.Context) error { } e.next_round = e.next_round + 1 - readiness.SetReady(common.ReadinessAlgorandSyncing) currentAlgorandHeight.Set(float64(e.next_round)) p2p.DefaultRegistry.SetNetworkStats(vaa.ChainIDAlgorand, &gossipv1.Heartbeat_Network{ Height: int64(e.next_round), @@ -251,6 +250,7 @@ func (e *Watcher) Run(ctx context.Context) error { } } } + readiness.SetReady(common.ReadinessAlgorandSyncing) } } }