From 65d49ccd3bf834c3126ff8cfa9832ec17e4f9026 Mon Sep 17 00:00:00 2001 From: moshe-blox Date: Sun, 1 Dec 2024 19:35:09 +0200 Subject: [PATCH] rename --- protocol/v2/types/ssvshare.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/protocol/v2/types/ssvshare.go b/protocol/v2/types/ssvshare.go index f089e7cada..3ecdfee97b 100644 --- a/protocol/v2/types/ssvshare.go +++ b/protocol/v2/types/ssvshare.go @@ -59,8 +59,8 @@ func (s *SSVShare) IsAttesting(epoch phase0.Epoch) bool { } func (s *SSVShare) IsParticipating(epoch phase0.Epoch) bool { - activeOnContract := s.minParticipationEpoch == 0 || s.minParticipationEpoch <= epoch - return !s.Liquidated && s.IsAttesting(epoch) && activeOnContract + participating := s.minParticipationEpoch == 0 || s.minParticipationEpoch <= epoch + return !s.Liquidated && s.IsAttesting(epoch) && participating } func (s *SSVShare) SetFeeRecipient(feeRecipient bellatrix.ExecutionAddress) {