0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-14 11:23:55 +01:00

Update Yggdrasil demo peer count

This commit is contained in:
Neil Alexander 2020-07-01 13:47:16 +01:00
parent 8e7947926c
commit 55bc82c439

View file

@ -176,5 +176,5 @@ func (n *Node) SigningPrivateKey() ed25519.PrivateKey {
}
func (n *Node) PeerCount() int {
return len(n.core.GetSwitchPeers())
return len(n.core.GetPeers()) - 1
}