mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-01 00:31:21 +00:00
Invariant: if no notification, then no pools growth
This commit is contained in:
parent
f4565923e7
commit
81c1e73785
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user