From 4add2e7df7070b00628d79c80d52350d7cc59555 Mon Sep 17 00:00:00 2001 From: Aleksandr Bezobchuk Date: Fri, 31 Aug 2018 08:35:23 -0400 Subject: [PATCH] Remove ChainConfig from ethermint constructor --- app/ethermint.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/ethermint.go b/app/ethermint.go index be17045f..b911cd76 100644 --- a/app/ethermint.go +++ b/app/ethermint.go @@ -16,7 +16,6 @@ import ( "github.com/cosmos/ethermint/types" ethcmn "github.com/ethereum/go-ethereum/common" - ethparams "github.com/ethereum/go-ethereum/params" abci "github.com/tendermint/tendermint/abci/types" tmcmn "github.com/tendermint/tendermint/libs/common" @@ -59,8 +58,7 @@ type ( // NewEthermintApp returns a reference to a new initialized Ethermint // application. func NewEthermintApp( - logger tmlog.Logger, db dbm.DB, ethChainCfg *ethparams.ChainConfig, - sdkAddr ethcmn.Address, baseAppOpts ...func(*bam.BaseApp), + logger tmlog.Logger, db dbm.DB, sdkAddr ethcmn.Address, baseAppOpts ...func(*bam.BaseApp), ) *EthermintApp { codec := CreateCodec()