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:
|
||||
return
|
||||
with knownNodesLock:
|
||||
oldestList = sorted(knownNodes[recAddrStream], key=knownNodes[recAddrStream].get)[:knownNodeTrimAmount]
|
||||
oldestList = sorted(knownNodes[recAddrStream], key=knownNodes[recAddrStream].get)[:knownNodesTrimAmount]
|
||||
for oldest in oldestList:
|
||||
del knownNodes[recAddrStream][oldest]
|
||||
|
|
Reference in New Issue
Block a user