Skip to content

Commit

Permalink
handle emergency in different way
Browse files Browse the repository at this point in the history
  • Loading branch information
beer-1 committed Nov 10, 2024
1 parent 07378f5 commit 03a52da
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions x/gov/abci.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,11 @@ func EndBlocker(ctx sdk.Context, k *keeper.Keeper) error {
return false, err
}

// emergency proposals are handled separately
if proposal.Emergency {
return false, nil
}

_, passed, burnDeposits, tallyResults, err := k.Tally(ctx, params, proposal)
if err != nil {
return false, err
Expand Down

0 comments on commit 03a52da

Please sign in to comment.