From 51b72d297af02050c69839c8c6a2b144664eaa1e Mon Sep 17 00:00:00 2001 From: Markus Waas Date: Thu, 21 Dec 2023 14:37:34 -0600 Subject: [PATCH] chore: remove accidental println (#18864) --- x/bank/keeper/msg_server.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/x/bank/keeper/msg_server.go b/x/bank/keeper/msg_server.go index 99a33c0802..548d4fdd11 100644 --- a/x/bank/keeper/msg_server.go +++ b/x/bank/keeper/msg_server.go @@ -2,7 +2,6 @@ package keeper import ( "context" - "fmt" "github.com/hashicorp/go-metrics" @@ -201,7 +200,7 @@ func (k msgServer) Burn(goCtx context.Context, msg *types.MsgBurn) (*types.MsgBu if !coins.IsValid() { return nil, errorsmod.Wrap(sdkerrors.ErrInvalidCoins, coins.String()) } - fmt.Println("coins", coins) + if !coins.IsAllPositive() { return nil, errorsmod.Wrap(sdkerrors.ErrInvalidCoins, coins.String()) }