Spec conforms to current module
This commit is contained in:
parent
9d5425b806
commit
b2e9e1724b
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue