From af8957ed72c41487319a690af5cd68b43ce4763d Mon Sep 17 00:00:00 2001 From: Peter Surda Date: Mon, 27 Feb 2017 23:37:15 +0100 Subject: [PATCH] Typo in the second most recent commit --- src/knownnodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/knownnodes.py b/src/knownnodes.py index 4979d7da..ffb14edc 100644 --- a/src/knownnodes.py +++ b/src/knownnodes.py @@ -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]