Change network mask to limit number of peers to 65k (#339)

This commit is contained in:
Misha Bragin
2022-05-28 12:54:09 +02:00
committed by GitHub
parent feff6dc966
commit 59a964eed8
5 changed files with 5 additions and 5 deletions

View File

@ -251,7 +251,7 @@ func Test_SyncProtocol(t *testing.T) {
t.Fatal("expecting SyncResponse to have NetworkMap with a non-nil PeerConfig")
}
if networkMap.GetPeerConfig().GetAddress() != "100.64.0.1/24" {
if networkMap.GetPeerConfig().GetAddress() != "100.64.0.1/16" {
t.Fatal("expecting SyncResponse to have NetworkMap with a PeerConfig having valid Address")
}