Invariant: if no notification, then no pools growth

This commit is contained in:
alex.sharov 2021-08-07 10:42:45 +07:00
parent f4565923e7
commit 81c1e73785

View File

@ -840,12 +840,6 @@ func (l *recentlyConnectedPeers) GetAndClean() []PeerID {
return peers
}
func max(a, b uint64) uint64 {
if a >= b {
return a
}
return b
}
func min(a, b uint64) uint64 {
if a <= b {
return a