cmd/utils, mobile, params: set the correct field on testnet EIP 155 (#3272)

This commit is contained in:
Péter Szilágyi
2016-11-16 01:46:40 +02:00
committed by Felix Lange
parent 5a3853f83f
commit 64359c9417
4 changed files with 36 additions and 51 deletions

View File

@ -130,6 +130,7 @@ func NewNode(datadir string, config *NodeConfig) (*Node, error) {
if config.EthereumEnabled {
ethConf := &eth.Config{
ChainConfig: &params.ChainConfig{
ChainId: big.NewInt(config.EthereumChainConfig.ChainID),
HomesteadBlock: big.NewInt(config.EthereumChainConfig.HomesteadBlock),
DAOForkBlock: big.NewInt(config.EthereumChainConfig.DAOForkBlock),
DAOForkSupport: config.EthereumChainConfig.DAOForkSupport,