Skip to content

Commit

Permalink
chore(batcher): rename variable (#1901)
Browse files Browse the repository at this point in the history
  • Loading branch information
alonh5 authored Nov 10, 2024
1 parent 8801e88 commit 6de407d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/batcher/src/proposal_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,8 @@ impl ProposalManagerTrait for ProposalManager {
&self,
proposal_id: ProposalId,
) -> ProposalResult<ProposalCommitment> {
let g = self.executed_proposals.lock().await;
let output = g
let proposals = self.executed_proposals.lock().await;
let output = proposals
.get(&proposal_id)
.ok_or(GetProposalResultError::ProposalDoesNotExist { proposal_id })?;
match output {
Expand Down

0 comments on commit 6de407d

Please sign in to comment.