diff --git a/app/ethermint.go b/app/ethermint.go index cd5437db..c683d59b 100644 --- a/app/ethermint.go +++ b/app/ethermint.go @@ -129,7 +129,7 @@ func (app *EthermintApp) EndBlocker(ctx sdk.Context, _ abci.RequestEndBlock) abc // initChainer initializes the application blockchain with validators and other // state data from TendermintCore. -func (app *EthermintApp) initChainer(ctx sdk.Context, req abci.RequestInitChain) abci.ResponseInitChain { +func (app *EthermintApp) initChainer(_ sdk.Context, req abci.RequestInitChain) abci.ResponseInitChain { var genesisState GenesisState stateJSON := req.AppStateBytes diff --git a/handlers/ante.go b/handlers/ante.go index dd35b4e2..2b95feaf 100644 --- a/handlers/ante.go +++ b/handlers/ante.go @@ -29,7 +29,7 @@ type internalAnteHandler func( // processing (e.g. fee payment, signature verification) before being passed // onto it's respective handler. func AnteHandler(ak auth.AccountKeeper, _ auth.FeeCollectionKeeper) sdk.AnteHandler { - return func(sdkCtx sdk.Context, tx sdk.Tx, simulate bool) (newCtx sdk.Context, res sdk.Result, abort bool) { + return func(sdkCtx sdk.Context, tx sdk.Tx, _ bool) (newCtx sdk.Context, res sdk.Result, abort bool) { var ( handler internalAnteHandler gasLimit int64