Skip to content

Commit

Permalink
[consensus] Remove dead code in warnings (#15543)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregnazario authored Dec 9, 2024
1 parent dacbfc3 commit 42d47ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion consensus/src/epoch_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1825,7 +1825,6 @@ pub enum NoRandomnessReason {
DKGCompletedSessionResourceMissing,
CompletedSessionTooOld,
NotInValidatorSet,
ConsensusKeyUnavailable,
ErrConvertingConsensusKeyToDecryptionKey(anyhow::Error),
TranscriptDeserializationError(bcs::Error),
SecretShareDecryptionFailed(anyhow::Error),
Expand Down
4 changes: 2 additions & 2 deletions consensus/src/quorum_store/quorum_store_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ pub struct InnerBuilder {
network_sender: NetworkSender,
verifier: Arc<ValidatorVerifier>,
proof_cache: ProofCache,
backend: SecureBackend,
_backend: SecureBackend,
coordinator_tx: Sender<CoordinatorCommand>,
coordinator_rx: Option<Receiver<CoordinatorCommand>>,
batch_generator_cmd_tx: tokio::sync::mpsc::Sender<BatchGeneratorCommand>,
Expand Down Expand Up @@ -205,7 +205,7 @@ impl InnerBuilder {
network_sender,
verifier,
proof_cache,
backend,
_backend: backend,
coordinator_tx,
coordinator_rx: Some(coordinator_rx),
batch_generator_cmd_tx,
Expand Down

0 comments on commit 42d47ee

Please sign in to comment.