From 0a64b1d87d9b6c626b024fb9229be3c219b2ac2c Mon Sep 17 00:00:00 2001 From: Victor Fusco <1221933+vfusco@users.noreply.github.com> Date: Thu, 10 Oct 2024 02:31:58 -0300 Subject: [PATCH] refactor: evm reader --- internal/evmreader/claim.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/evmreader/claim.go b/internal/evmreader/claim.go index 805de79f6..13c1b4ea0 100644 --- a/internal/evmreader/claim.go +++ b/internal/evmreader/claim.go @@ -114,7 +114,7 @@ func (r *EvmReader) readAndUpdateClaims( "error", err) continue APP_LOOP } - if len(previousEpochs) > 0 { + if len(previousEpochs) == 0 { // FIXME review this condition slog.Error("Application got 'not accepted' claims. It is in an invalid state", "app", app) continue APP_LOOP