[main] Enable beacon sync for explorer nodes (#3059)

pull/3063/head
Janet Liang 5 years ago committed by Leo Chen
parent e85c1f3064
commit 756c7750b7
  1. 3
      cmd/harmony/main.go

@ -714,8 +714,7 @@ func main() {
}
}()
if nodeConfig.ShardID != shard.BeaconChainShardID &&
currentNode.NodeConfig.Role() != nodeconfig.ExplorerNode {
if nodeConfig.ShardID != shard.BeaconChainShardID {
utils.Logger().Info().
Uint32("shardID", currentNode.Blockchain().ShardID()).
Uint32("shardID", nodeConfig.ShardID).Msg("SupportBeaconSyncing")

Loading…
Cancel
Save