add new block type in service manager

pull/375/head
Minh Doan 6 years ago committed by Minh Doan
parent fb630dbcca
commit 3f25de399a
  1. 3
      api/service/manager.go

@ -25,6 +25,7 @@ const (
SupportClient SupportClient
SupportExplorer SupportExplorer
Consensus Consensus
NewBlock
Test Test
Done Done
) )
@ -39,6 +40,8 @@ func (t Type) String() string {
return "SupportExplorer" return "SupportExplorer"
case Consensus: case Consensus:
return "Consensus" return "Consensus"
case NewBlock:
return "NewBlock"
case Test: case Test:
return "Test" return "Test"
case Done: case Done:

Loading…
Cancel
Save