Skip to content

Commit

Permalink
Gov fix (#761) (#768)
Browse files Browse the repository at this point in the history
* Fix general proposal of gov module
  • Loading branch information
skyargos authored Sep 11, 2023
1 parent 0c7680b commit 24cc066
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions x/gov/abci.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,10 @@ func processSecurityVote(ctx sdk.Context, k keeper.Keeper, proposal govtypes.Pro
)
logger := k.Logger(ctx)

// Only process security proposals
if !k.HasSecurityVoting(proposal) {
return false
}
// Only process proposals in the security voting period.
if k.HasSecurityVoting(proposal) && k.GetCertifierVoted(ctx, proposal.ProposalId) {
return false
Expand Down

0 comments on commit 24cc066

Please sign in to comment.