From 60a1d48cf4134e6da7ec4df6ae599d3c4a383f6e Mon Sep 17 00:00:00 2001 From: MatheusFranco99 <48058141+MatheusFranco99@users.noreply.github.com> Date: Wed, 14 Aug 2024 15:17:54 +0100 Subject: [PATCH] Fix lint issue --- ssv/runner_validations.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssv/runner_validations.go b/ssv/runner_validations.go index c3b66e3b8..e5a0cbc8b 100644 --- a/ssv/runner_validations.go +++ b/ssv/runner_validations.go @@ -50,7 +50,7 @@ func (b *BaseRunner) ValidatePostConsensusMsg(runner Runner, psigMsgs *types.Par } // TODO https://github.com/ssvlabs/ssv-spec/issues/142 need to fix with this issue solution instead. - if b.State.DecidedValue == nil || len(b.State.DecidedValue) == 0 { + if len(b.State.DecidedValue) == 0 { return errors.New("no decided value") }