Typo in the second most recent commit
This commit is contained in:
parent
d9d2deee25
commit
af8957ed72
|
@ -20,6 +20,6 @@ def trimKnownNodes(recAddrStream = 1):
|
||||||
if len(knownNodes[recAddrStream]) < knownNodesMax:
|
if len(knownNodes[recAddrStream]) < knownNodesMax:
|
||||||
return
|
return
|
||||||
with knownNodesLock:
|
with knownNodesLock:
|
||||||
oldestList = sorted(knownNodes[recAddrStream], key=knownNodes[recAddrStream].get)[:knownNodeTrimAmount]
|
oldestList = sorted(knownNodes[recAddrStream], key=knownNodes[recAddrStream].get)[:knownNodesTrimAmount]
|
||||||
for oldest in oldestList:
|
for oldest in oldestList:
|
||||||
del knownNodes[recAddrStream][oldest]
|
del knownNodes[recAddrStream][oldest]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user