From 56f79799d18a947490832a789cb3d6083d5e86a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Negovanovi=C4=87?= Date: Fri, 28 Jun 2024 09:26:53 +0200 Subject: [PATCH] Remove unused functions --- core/state.go | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/core/state.go b/core/state.go index bee977b..6011c4f 100644 --- a/core/state.go +++ b/core/state.go @@ -83,20 +83,6 @@ func (s *state) reset(height uint64) { } } -func (s *state) getLatestPC() *proto.PreparedCertificate { - s.RLock() - defer s.RUnlock() - - return s.latestPC -} - -func (s *state) getLatestPreparedProposal() *proto.Proposal { - s.RLock() - defer s.RUnlock() - - return s.latestPreparedProposal -} - func (s *state) getProposalMessage() *proto.IbftMessage { s.RLock() defer s.RUnlock()