Skip to content

Commit 57a639b

Browse files
committed
apollo_consensus: fix conflicts
1 parent 43126d4 commit 57a639b

File tree

3 files changed

+77
-303
lines changed

3 files changed

+77
-303
lines changed

crates/apollo_consensus/src/manager.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -433,9 +433,7 @@ impl<ContextT: ConsensusContext> MultiHeightManager<ContextT> {
433433
self.wait_until_sync_reaches_height(height, context).await;
434434
RunHeightRes::Sync
435435
}
436-
e @ ConsensusError::BlockInfoConversion(_)
437-
| e @ ConsensusError::InternalNetworkError(_)
438-
| e @ ConsensusError::Other(_) => {
436+
e @ ConsensusError::InternalNetworkError(_) => {
439437
// The node is missing required components/data and cannot continue
440438
// participating in the consensus. A fix and node restart are required.
441439
return Err(e);

crates/apollo_consensus/src/types.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,4 @@ pub enum ConsensusError {
154154
// As opposed to an error between this node and peer nodes.
155155
#[error("{0}")]
156156
InternalNetworkError(String),
157-
#[error("Block info conversion error: {0}")]
158-
BlockInfoConversion(#[from] starknet_api::StarknetApiError),
159-
#[error("{0}")]
160-
Other(String),
161157
}

0 commit comments

Comments
 (0)