diff --git a/consensus/consensus-types/src/proof_of_store.rs b/consensus/consensus-types/src/proof_of_store.rs index 6d64870c49614..e895244695073 100644 --- a/consensus/consensus-types/src/proof_of_store.rs +++ b/consensus/consensus-types/src/proof_of_store.rs @@ -211,12 +211,6 @@ impl SignedBatchInfoMsg { pub fn take(self) -> Vec { self.signed_infos } - - pub fn author(&self) -> Option { - self.signed_infos - .first() - .map(|signed_info| signed_info.author()) - } } #[derive(Clone, Debug, Deserialize, Serialize)] diff --git a/consensus/src/pipeline/commit_reliable_broadcast.rs b/consensus/src/pipeline/commit_reliable_broadcast.rs index 03a5f0b660650..231ae552caa6b 100644 --- a/consensus/src/pipeline/commit_reliable_broadcast.rs +++ b/consensus/src/pipeline/commit_reliable_broadcast.rs @@ -60,13 +60,6 @@ impl CommitMessage { _ => None, } } - - pub fn author(&self) -> Option { - match self { - CommitMessage::Vote(vote) => Some(vote.author()), - _ => None, - } - } } impl RBMessage for CommitMessage {}