From 6d31fa4229b1b871b0cabe394e237431a61295ad Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Thu, 23 Aug 2018 09:59:00 -0500 Subject: [PATCH] fix peer amount check not calling method --- onionr/onionrutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onionr/onionrutils.py b/onionr/onionrutils.py index bf57df66..b48160a3 100644 --- a/onionr/onionrutils.py +++ b/onionr/onionrutils.py @@ -132,7 +132,7 @@ class OnionrUtils: continue if self._core.addAddress(adder): # Check if we have the maxmium amount of allowed stored peers - if config.get('peers.maxStoredPeers') > len(self._core.listAdders): + if config.get('peers.maxStoredPeers') > len(self._core.listAdders()): logger.info('Added %s to db.' % adder, timestamp = True) retVal = True else: