Skip to content

Commit 648bd22

Browse files
committed
core/vm/runtime: fixed go vet
1 parent 0231d8f commit 648bd22

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

core/vm/runtime/runtime.go

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,15 @@ type Config struct {
5757
// sets defaults on the config
5858
func setDefaults(cfg *Config) {
5959
if cfg.ChainConfig == nil {
60-
cfg.ChainConfig = &params.ChainConfig{big.NewInt(1), new(big.Int), new(big.Int), false, new(big.Int), common.Hash{}, new(big.Int), new(big.Int), new(big.Int)}
60+
cfg.ChainConfig = &params.ChainConfig{
61+
ChainId: big.NewInt(1),
62+
HomesteadBlock: new(big.Int),
63+
DAOForkBlock: new(big.Int),
64+
DAOForkSupport: false,
65+
EIP150Block: new(big.Int),
66+
EIP155Block: new(big.Int),
67+
EIP158Block: new(big.Int),
68+
}
6169
}
6270

6371
if cfg.Difficulty == nil {

0 commit comments

Comments
 (0)