Skip to content

Commit

Permalink
Governance-v2: Format
Browse files Browse the repository at this point in the history
  • Loading branch information
CostinCarabas committed Jul 27, 2023
1 parent 50c6f3b commit 2edf729
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion energy-integration/governance-v2/src/views.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ pub trait ViewsModule:
let total_quorum_for_proposal = proposal.total_quorum;

if total_quorum_for_proposal == 0u64 {
return false
return false;
}

let required_minimum_percentage = proposal.minimum_quorum;
Expand Down
1 change: 0 additions & 1 deletion energy-integration/governance-v2/tests/gov_rust_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ fn gov_propose_total_energy_0_test() {
.assert_ok();
}


#[test]
fn gov_no_veto_vote_test() {
let mut gov_setup = GovSetup::new(governance_v2::contract_obj);
Expand Down

0 comments on commit 2edf729

Please sign in to comment.