enable explorer for beacon leader

pull/557/head
Minh Doan 6 years ago committed by Minh Doan
parent 0bc22a5784
commit 080f798030
  1. 2
      node/service_setup.go

@ -62,6 +62,8 @@ func (node *Node) setupForBeaconLeader() {
node.serviceManager.RegisterService(service.ClientSupport, clientsupport.New(node.blockchain.State, node.CallFaucetContract, node.getDeployedStakingContract, node.SelfPeer.IP, node.SelfPeer.Port))
// Register randomness service
node.serviceManager.RegisterService(service.Randomness, randomness.New(node.DRand))
// Register explorer service.
node.serviceManager.RegisterService(service.SupportExplorer, explorer.New(&node.SelfPeer))
}
func (node *Node) setupForBeaconValidator() {

Loading…
Cancel
Save