mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-03 17:44:29 +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
|
return peers
|
||||||
}
|
}
|
||||||
|
|
||||||
func max(a, b uint64) uint64 {
|
|
||||||
if a >= b {
|
|
||||||
return a
|
|
||||||
}
|
|
||||||
return b
|
|
||||||
}
|
|
||||||
func min(a, b uint64) uint64 {
|
func min(a, b uint64) uint64 {
|
||||||
if a <= b {
|
if a <= b {
|
||||||
return a
|
return a
|
||||||
|
Loading…
Reference in New Issue
Block a user