remove beacon sync for explorer node

pull/3421/head
Rongjian Lan 4 years ago committed by Leo Chen
parent 1336e063ba
commit 13051c4cf8
  1. 2
      cmd/harmony/main.go

@ -315,7 +315,7 @@ func setupNodeAndRun(hc harmonyConfig) {
WSPort: hc.WS.Port,
DebugEnabled: hc.RPCOpt.DebugEnabled,
}
if nodeConfig.ShardID != shard.BeaconChainShardID {
if nodeConfig.ShardID != shard.BeaconChainShardID && hc.General.NodeType != nodeTypeExplorer {
utils.Logger().Info().
Uint32("shardID", currentNode.Blockchain().ShardID()).
Uint32("shardID", nodeConfig.ShardID).Msg("SupportBeaconSyncing")

Loading…
Cancel
Save