Browse Source

Integration tests: DecideOnProposalStatusFixture bug fix

Leszek Wiesner 3 years ago
parent
commit
a2e0ba6e24

+ 1 - 1
tests/integration-tests/src/fixtures/proposals/DecideOnProposalStatusFixture.ts

@@ -76,7 +76,7 @@ export class DecideOnProposalStatusFixture extends BaseQueryNodeFixture {
     } else {
       const otherResultMinThreshold = Math.min(
         approvalThresholdPercentage.toNumber(),
-        approvalQuorumPercentage.toNumber()
+        slashingThresholdPercentage.toNumber()
       )
       const minRejectOrAbstainVotesN = Math.ceil((councilSize * (100 - otherResultMinThreshold)) / 100)
       return Array.from({ length: minRejectOrAbstainVotesN }, (v, i) => vote('Reject', i))