Skip to content

Commit

Permalink
Revert unrecoverable relaxing on boot related routes
Browse files Browse the repository at this point in the history
  • Loading branch information
emostov committed Nov 28, 2023
1 parent a424f10 commit 2ecaff4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/qos_core/src/protocol/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,19 +115,19 @@ impl ProtocolRoute {
)
}

pub fn boot_standard(current_phase: ProtocolPhase) -> Self {
pub fn boot_standard(_current_phase: ProtocolPhase) -> Self {
ProtocolRoute::new(
Box::new(handlers::boot_standard),
ProtocolPhase::WaitingForQuorumShards,
current_phase,
ProtocolPhase::UnrecoverableError,
)
}

pub fn boot_key_forward(current_phase: ProtocolPhase) -> Self {
pub fn boot_key_forward(_current_phase: ProtocolPhase) -> Self {
ProtocolRoute::new(
Box::new(handlers::boot_key_forward),
ProtocolPhase::WaitingForForwardedKey,
current_phase,
ProtocolPhase::UnrecoverableError,
)
}

Expand Down Expand Up @@ -155,11 +155,11 @@ impl ProtocolRoute {
)
}

pub fn inject_key(current_phase: ProtocolPhase) -> Self {
pub fn inject_key(_current_phase: ProtocolPhase) -> Self {
ProtocolRoute::new(
Box::new(handlers::inject_key),
ProtocolPhase::QuorumKeyProvisioned,
current_phase,
ProtocolPhase::UnrecoverableError,
)
}

Expand Down

0 comments on commit 2ecaff4

Please sign in to comment.