From b64abcd8508996937ea165165f0e85f2878344b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Lewandowski?= Date: Fri, 22 Nov 2024 15:40:42 +0100 Subject: [PATCH] fix(ARCO-283): fix linter error --- internal/metamorph/processor_helpers.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/internal/metamorph/processor_helpers.go b/internal/metamorph/processor_helpers.go index 9d8bc9dc7..4c36bd15a 100644 --- a/internal/metamorph/processor_helpers.go +++ b/internal/metamorph/processor_helpers.go @@ -119,11 +119,7 @@ func shouldUpdateCompetingTxs(new, found store.UpdateStatus) bool { } func shouldUpdateStatus(new, found store.UpdateStatus) bool { - if new.Status > found.Status { - return true - } - - return false + return new.Status > found.Status } // unorderedEqual checks if two string slices contain