mirror of
https://github.com/planetmint/planetmint-go.git
synced 2025-11-24 06:25:47 +00:00
removed log line
Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
This commit is contained in:
parent
87a4384891
commit
c4f814b4dd
@ -2,13 +2,11 @@ package ante
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"strconv"
|
||||
|
||||
errorsmod "cosmossdk.io/errors"
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
|
||||
"github.com/cosmos/cosmos-sdk/x/auth/migrations/legacytx"
|
||||
"github.com/planetmint/planetmint-go/util"
|
||||
)
|
||||
|
||||
var _ GasTx = (*legacytx.StdTx)(nil) // assert StdTx implements GasTx
|
||||
@ -36,7 +34,6 @@ func NewSetUpContextDecorator(dk DaoKeeper) SetUpContextDecorator {
|
||||
|
||||
func (sud SetUpContextDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (newCtx sdk.Context, err error) {
|
||||
// all transactions must implement GasTx
|
||||
util.GetAppLogger().Debug(ctx, "BLOCKHEIGHT : "+strconv.FormatInt(ctx.BlockHeight(), 10))
|
||||
gasTx, ok := tx.(GasTx)
|
||||
if !ok {
|
||||
// Set a gas meter with limit 0 as to prevent an infinite gas meter attack
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user