File tree Expand file tree Collapse file tree 3 files changed +77
-303
lines changed
apollo_consensus_orchestrator/src Expand file tree Collapse file tree 3 files changed +77
-303
lines changed Original file line number Diff line number Diff 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) ;
Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments