diff --git a/contracts/icp/proxy-contract/src/query.rs b/contracts/icp/proxy-contract/src/query.rs index 80e3dbd34..c9e4eaba6 100644 --- a/contracts/icp/proxy-contract/src/query.rs +++ b/contracts/icp/proxy-contract/src/query.rs @@ -60,7 +60,9 @@ pub fn get_confirmations_count(proposal_id: ICProposalId) -> Option Option> { PROXY_CONTRACT.with(|contract| { let contract = contract.borrow(); - contract.approvals.get(&proposal_id) + contract + .approvals + .get(&proposal_id) .map(|approvals| approvals.iter().cloned().collect()) }) }