From 940fb19ead8de87c0cc477c485a012edb25ab862 Mon Sep 17 00:00:00 2001 From: Draco Date: Thu, 14 Sep 2023 16:22:13 -0400 Subject: [PATCH] remove pay rewards logic --- x/community/abci.go | 4 ---- x/community/keeper/incentives.go | 5 ----- 2 files changed, 9 deletions(-) diff --git a/x/community/abci.go b/x/community/abci.go index 1e51386dbb..753d5cfdcb 100644 --- a/x/community/abci.go +++ b/x/community/abci.go @@ -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) - } } diff --git a/x/community/keeper/incentives.go b/x/community/keeper/incentives.go index 08506a0739..7da8a4c9f6 100644 --- a/x/community/keeper/incentives.go +++ b/x/community/keeper/incentives.go @@ -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)