Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
alenmestrov committed Dec 3, 2024
1 parent c9ac300 commit 7a08e59
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion contracts/icp/proxy-contract/src/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ pub fn get_confirmations_count(proposal_id: ICProposalId) -> Option<ICProposalWi
pub fn get_proposal_approvers(proposal_id: ICProposalId) -> Option<Vec<ICSignerId>> {
PROXY_CONTRACT.with(|contract| {
let contract = contract.borrow();
contract.approvals.get(&proposal_id)
contract
.approvals
.get(&proposal_id)
.map(|approvals| approvals.iter().cloned().collect())
})
}
Expand Down

0 comments on commit 7a08e59

Please sign in to comment.