From 6f0abd1f19ee048eff8e0ddc7efb146699a4a48e Mon Sep 17 00:00:00 2001 From: Rongjian Lan Date: Mon, 25 Jan 2021 17:10:01 -0800 Subject: [PATCH] Update beacon chain config (#3505) --- internal/shardchain/shardchains.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/shardchain/shardchains.go b/internal/shardchain/shardchains.go index fe92cb95d..280f69956 100644 --- a/internal/shardchain/shardchains.go +++ b/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")