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")