diff --git a/app/lib/page-encointer/democracy/helpers.dart b/app/lib/page-encointer/democracy/helpers.dart index 555670188..fb7bdc620 100644 --- a/app/lib/page-encointer/democracy/helpers.dart +++ b/app/lib/page-encointer/democracy/helpers.dart @@ -134,7 +134,8 @@ bool isInVotingCindexes( } bool isPassing(Tally tally, BigInt electorateSize, DemocracyParams params) { - if (tally.turnout < params.minTurnout) { + // minTurnout is in perThousands + if ((tally.turnout < BigInt.from(1)) | (tally.turnout < params.minTurnout * electorateSize ~/ BigInt.from(1000))) { return false; }