Update beacon chain config (#3505)

pull/3510/head
Rongjian Lan 4 years ago committed by GitHub
parent 0aa7f1c708
commit 6f0abd1f19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      internal/shardchain/shardchains.go

@ -106,7 +106,7 @@ func (sc *CollectionImpl) ShardChain(shardID uint32) (*core.BlockChain, error) {
chainConfig.EthCompatibleChainID = big.NewInt(chainConfig.EthCompatibleShard0ChainID.Int64())
}
bc, err := core.NewBlockChain(
db, cacheConfig, sc.chainConfig, sc.engine, vm.Config{}, nil,
db, cacheConfig, &chainConfig, sc.engine, vm.Config{}, nil,
)
if err != nil {
return nil, errors.Wrapf(err, "cannot create blockchain")

Loading…
Cancel
Save