PENDING status

This commit is contained in:
mr
2026-01-22 16:11:54 +01:00
parent 2d1d76767c
commit 8f5f3e331d

View File

@@ -30,11 +30,12 @@ const (
SELF
PARTNER
BLACKLIST
PENDING
PENDING_PARTNER
PENDING_NONE
)
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 {