Skip to content

Commit 77ea41e

Browse files
committed
Restrict CommunityTax blocks
1 parent e72edd8 commit 77ea41e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/app.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -783,7 +783,7 @@ func (app *KitoolsApp) Name() string { return app.BaseApp.Name() }
783783
// BeginBlocker application updates every begin block
784784
func (app *KitoolsApp) BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock {
785785

786-
if ctx.BlockHeight() <= 13519356 {
786+
if ctx.BlockHeight() >= 13519355 && ctx.BlockHeight() <= 13519356 {
787787
distrParams := app.DistrKeeper.GetParams(ctx)
788788
ctx.Logger().Info(fmt.Sprintf("Current DistrKeeper Params: %v", distrParams))
789789
distrParams.CommunityTax = sdk.NewDecWithPrec(4, 2)

0 commit comments

Comments
 (0)