From 6fcbb7b26ca48cbdedcd075acc493fe720b31d6a Mon Sep 17 00:00:00 2001 From: j75689 Date: Thu, 23 Nov 2023 15:49:27 +0800 Subject: [PATCH] fix comments --- plugins/tokens/freeze/handler.go | 3 --- plugins/tokens/plugin.go | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/plugins/tokens/freeze/handler.go b/plugins/tokens/freeze/handler.go index 896a4e9da..1a1b21015 100644 --- a/plugins/tokens/freeze/handler.go +++ b/plugins/tokens/freeze/handler.go @@ -33,9 +33,6 @@ func NewHandler(tokenMapper store.Mapper, accKeeper auth.AccountKeeper, keeper b } func handleFreezeToken(ctx sdk.Context, tokenMapper store.Mapper, accKeeper auth.AccountKeeper, keeper bank.Keeper, msg FreezeMsg) sdk.Result { - if sdk.IsUpgrade(sdk.BCFusionFirstHardFork) { - return sdk.ErrMsgNotSupported("").Result() - } freezeAmount := msg.Amount symbol := strings.ToUpper(msg.Symbol) logger := log.With("module", "token", "symbol", symbol, "amount", freezeAmount, "addr", msg.From) diff --git a/plugins/tokens/plugin.go b/plugins/tokens/plugin.go index 09f791794..6f70502bc 100644 --- a/plugins/tokens/plugin.go +++ b/plugins/tokens/plugin.go @@ -52,7 +52,7 @@ func createQueryHandler(mapper Mapper, queryPrefix string) app.AbciQueryHandler } const ( - MaxUnlockItems = 100 + MaxUnlockItems = 10 ) func EndBlocker(ctx sdk.Context, timelockKeeper timelock.Keeper, swapKeeper swap.Keeper) {