Skip to content

Commit

Permalink
Remove unused functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan-Ethernal committed Jun 28, 2024
1 parent 02e4d0e commit 56f7979
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions core/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 56f7979

Please sign in to comment.