update dev tools; fix linting

This commit is contained in:
Aleksandr Bezobchuk 2018-10-24 10:57:29 -04:00
parent ccc6ae6984
commit e6380ec862
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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