PENDING status
This commit is contained in:
@@ -30,11 +30,12 @@ const (
|
|||||||
SELF
|
SELF
|
||||||
PARTNER
|
PARTNER
|
||||||
BLACKLIST
|
BLACKLIST
|
||||||
PENDING
|
PENDING_PARTNER
|
||||||
|
PENDING_NONE
|
||||||
)
|
)
|
||||||
|
|
||||||
func (m PeerRelation) String() string {
|
func (m PeerRelation) String() string {
|
||||||
return [...]string{"NONE", "SELF", "PARTNER", "BLACKLIST", "PENDING"}[m]
|
return [...]string{"NONE", "SELF", "PARTNER", "BLACKLIST", "PENDING_PARTNER", "PENDING_NONE"}[m]
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m PeerRelation) EnumIndex() int {
|
func (m PeerRelation) EnumIndex() int {
|
||||||
|
|||||||
Reference in New Issue
Block a user