From 7378614f7db1b8438f03ae9a03753c8a66ce4453 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Sat, 29 Aug 2026 13:39:32 +0200 Subject: [PATCH] fix(server): load state with correct pointer --- cmd/thalos/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/thalos/server.go b/cmd/thalos/server.go index 7f01190..79a404f 100644 --- a/cmd/thalos/server.go +++ b/cmd/thalos/server.go @@ -166,7 +166,7 @@ func stateLoader(conf *config.Config, start_block_flag *pflag.Flag, chainInfo fu // Load state from cache. ctx, cancel := context.WithTimeout(context.Background(), time.Millisecond*500) - err := cache.Get(ctx, "state", &state) + err := cache.Get(ctx, "state", state) cancel() // on error (cache miss) or if current_block_no_cache is set.