mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 06:36:43 +00:00
cmd/utils: set the correct field on testnet EIP 155
This commit is contained in:
parent
4dd3e7fe35
commit
4febf264ce
1 changed files with 1 additions and 1 deletions
|
|
@ -894,7 +894,7 @@ func MakeChainConfigFromDb(ctx *cli.Context, db ethdb.Database) *params.ChainCon
|
||||||
}
|
}
|
||||||
if config.EIP155Block == nil {
|
if config.EIP155Block == nil {
|
||||||
if ctx.GlobalBool(TestNetFlag.Name) {
|
if ctx.GlobalBool(TestNetFlag.Name) {
|
||||||
config.EIP150Block = params.TestNetSpuriousDragon
|
config.EIP155Block = params.TestNetSpuriousDragon
|
||||||
} else {
|
} else {
|
||||||
config.EIP155Block = params.MainNetSpuriousDragon
|
config.EIP155Block = params.MainNetSpuriousDragon
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue