Spec conforms to current module

This commit is contained in:
gamarin 2018-07-02 13:50:55 +02:00
parent 9d5425b806
commit b2e9e1724b
2 changed files with 1 additions and 2 deletions

View File

@ -52,7 +52,6 @@ type ProposalType byte
const (
ProposalTypePlainText = 0x1 // Plain text proposals
ProposalTypeSoftwareUpgrade = 0x2 // Text proposal inducing a software upgrade
ProposalTypeParameterChange = 0x3 // Add or change a parameter in GlobalParams store
)
type ProposalStatus byte

View File

@ -186,7 +186,7 @@ handled:
throw
if (proposal.CurrentStatus == ProposalStatusActive && len(stakeKeeper.GetDelegations(sender)) > 0)
if (proposal.CurrentStatus == ProposalStatusActive)
// Sender can vote if
// Proposal is active