Explorar o código

Integration tests: DecideOnProposalStatusFixture bug fix

Leszek Wiesner %!s(int64=3) %!d(string=hai) anos
pai
achega
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))