enable beacon syncing

pull/1457/head
Chao Ma 5 years ago
parent 3d5c9e8132
commit 52334bb063
  1. 3
      cmd/harmony/main.go

@ -442,7 +442,8 @@ func main() {
nodeConfig := createGlobalConfig()
currentNode := setupConsensusAndNode(nodeConfig)
if currentNode.Blockchain().ShardID() != 0 {
if nodeConfig.ShardID != 0 {
utils.GetLogInstance().Info("SupportBeaconSyncing", "shardID", currentNode.Blockchain().ShardID(), "shardID1", nodeConfig.ShardID)
go currentNode.SupportBeaconSyncing()
}

Loading…
Cancel
Save