add peerdiscovery service type

Signed-off-by: Leo Chen <leo@harmony.one>
pull/372/head
Leo Chen 6 years ago
parent 6b46b91b0e
commit 31f4592b7e
  1. 3
      api/service/manager.go

@ -26,6 +26,7 @@ const (
SupportExplorer
Consensus
BlockProposal
PeerDiscovery
Test
Done
)
@ -42,6 +43,8 @@ func (t Type) String() string {
return "Consensus"
case BlockProposal:
return "BlockProposal"
case PeerDiscovery:
return "PeerDiscovery"
case Test:
return "Test"
case Done:

Loading…
Cancel
Save