mirror of
https://github.com/1f349/dendrite.git
synced 2024-11-25 13:11:37 +00:00
Update Yggdrasil demo peer count
This commit is contained in:
parent
8e7947926c
commit
55bc82c439
@ -176,5 +176,5 @@ func (n *Node) SigningPrivateKey() ed25519.PrivateKey {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (n *Node) PeerCount() int {
|
func (n *Node) PeerCount() int {
|
||||||
return len(n.core.GetSwitchPeers())
|
return len(n.core.GetPeers()) - 1
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user