Skip to content

Commit 227bca3

Browse files
gregnazariogeorgemitenkov
authored andcommitted
[consensus] Remove dead code in warnings (#15543)
1 parent cff0404 commit 227bca3

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

consensus/src/epoch_manager.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1825,7 +1825,6 @@ pub enum NoRandomnessReason {
18251825
DKGCompletedSessionResourceMissing,
18261826
CompletedSessionTooOld,
18271827
NotInValidatorSet,
1828-
ConsensusKeyUnavailable,
18291828
ErrConvertingConsensusKeyToDecryptionKey(anyhow::Error),
18301829
TranscriptDeserializationError(bcs::Error),
18311830
SecretShareDecryptionFailed(anyhow::Error),

consensus/src/quorum_store/quorum_store_builder.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ pub struct InnerBuilder {
129129
network_sender: NetworkSender,
130130
verifier: Arc<ValidatorVerifier>,
131131
proof_cache: ProofCache,
132-
backend: SecureBackend,
132+
_backend: SecureBackend,
133133
coordinator_tx: Sender<CoordinatorCommand>,
134134
coordinator_rx: Option<Receiver<CoordinatorCommand>>,
135135
batch_generator_cmd_tx: tokio::sync::mpsc::Sender<BatchGeneratorCommand>,
@@ -205,7 +205,7 @@ impl InnerBuilder {
205205
network_sender,
206206
verifier,
207207
proof_cache,
208-
backend,
208+
_backend: backend,
209209
coordinator_tx,
210210
coordinator_rx: Some(coordinator_rx),
211211
batch_generator_cmd_tx,

0 commit comments

Comments
 (0)