From 5c7d226a29d355f5d13716437691e136e535b4e7 Mon Sep 17 00:00:00 2001 From: fanghr Date: Wed, 4 May 2022 22:06:42 +0800 Subject: [PATCH] remove incorrect votes check --- agora/Agora/Governor/Scripts.hs | 3 --- 1 file changed, 3 deletions(-) diff --git a/agora/Agora/Governor/Scripts.hs b/agora/Agora/Governor/Scripts.hs index b131057..6e08c49 100644 --- a/agora/Agora/Governor/Scripts.hs +++ b/agora/Agora/Governor/Scripts.hs @@ -419,9 +419,6 @@ governorValidator gov = passert "Invalid thresholds in proposal datum" $ outputProposalDatum.thresholds #== oldParams.proposalThresholds - passert "Initial proposal votes should be empty" $ - pnull #$ pto $ pto $ pfromData outputProposalDatum.votes - passert "Proposal state should be draft" $ outputProposalDatum.status #== pconstantData Draft