From e6380ec8628d0bc32124bda3f818754e5774fedb Mon Sep 17 00:00:00 2001 From: Aleksandr Bezobchuk Date: Wed, 24 Oct 2018 10:57:29 -0400 Subject: [PATCH] update dev tools; fix linting --- app/ethermint.go | 2 +- handlers/ante.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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