Skip to content

Commit

Permalink
remove pay rewards logic
Browse files Browse the repository at this point in the history
  • Loading branch information
DracoLi committed Sep 14, 2023
1 parent 7817cb1 commit 940fb19
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
4 changes: 0 additions & 4 deletions x/community/abci.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,4 @@ func BeginBlocker(ctx sdk.Context, k keeper.Keeper) {
if k.ShouldStartDisableInflationUpgrade(ctx) {
k.StartDisableInflationUpgrade(ctx)
}

if err := k.PayCommunityRewards(ctx); err != nil {
panic(err)
}
}
5 changes: 0 additions & 5 deletions x/community/keeper/incentives.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
)

// PayCommunityRewards pays rewards to the fee collector account
func (k Keeper) PayCommunityRewards(ctx sdk.Context) error {
return nil
}

// ShouldStartDisableInflationUpgrade returns true if the disable inflation upgrade should be started
func (k Keeper) ShouldStartDisableInflationUpgrade(ctx sdk.Context) bool {
params, found := k.GetParams(ctx)
Expand Down

0 comments on commit 940fb19

Please sign in to comment.