aboutsummaryrefslogtreecommitdiffstats
path: root/mobile/geth.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-11-16 07:46:40 +0800
committerFelix Lange <fjl@twurst.com>2016-11-16 07:46:40 +0800
commit64359c9417244c7a824ea90b39a20b06f702bc08 (patch)
treeeb0618e0afbbf7364884d1ce9ce23266fc56de94 /mobile/geth.go
parent5a3853f83f931b6a68353cb1f3611f1db345e340 (diff)
downloaddexon-64359c9417244c7a824ea90b39a20b06f702bc08.tar
dexon-64359c9417244c7a824ea90b39a20b06f702bc08.tar.gz
dexon-64359c9417244c7a824ea90b39a20b06f702bc08.tar.bz2
dexon-64359c9417244c7a824ea90b39a20b06f702bc08.tar.lz
dexon-64359c9417244c7a824ea90b39a20b06f702bc08.tar.xz
dexon-64359c9417244c7a824ea90b39a20b06f702bc08.tar.zst
dexon-64359c9417244c7a824ea90b39a20b06f702bc08.zip
cmd/utils, mobile, params: set the correct field on testnet EIP 155 (#3272)
Diffstat (limited to 'mobile/geth.go')
-rw-r--r--mobile/geth.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/mobile/geth.go b/mobile/geth.go
index d7f0800e0..e209b667c 100644
--- a/mobile/geth.go
+++ b/mobile/geth.go
@@ -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,