We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f63119c commit 7a3abbfCopy full SHA for 7a3abbf
crates/apollo_consensus_orchestrator/src/validate_proposal.rs
@@ -165,7 +165,7 @@ pub(crate) async fn validate_proposal(
165
.await?;
166
167
initiate_validation(
168
- args.deps.batcher.as_ref(),
+ args.deps.batcher.clone(),
169
args.deps.state_sync_client,
170
block_info.clone(),
171
args.proposal_id,
@@ -388,7 +388,7 @@ async fn await_second_proposal_part(
388
}
389
390
async fn initiate_validation(
391
- batcher: &dyn BatcherClient,
+ batcher: Arc<dyn BatcherClient>,
392
state_sync_client: Arc<dyn StateSyncClient>,
393
block_info: ConsensusBlockInfo,
394
proposal_id: ProposalId,
0 commit comments