fix peer amount check not calling method
This commit is contained in:
		
							parent
							
								
									25e4444bda
								
							
						
					
					
						commit
						6d31fa4229
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -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: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue