Merge pull request #3429 from harmony-one/revert-3420-no_bc

Revert "remove beacon sync for explorer node"
pull/3430/head
Rongjian Lan 4 years ago committed by GitHub
commit 0b2faeb7e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      cmd/harmony/main.go

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

Loading…
Cancel
Save