removed accidental hardcode test in onionrpeers
This commit is contained in:
		
							parent
							
								
									34a970d008
								
							
						
					
					
						commit
						c4f2327e49
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -40,7 +40,7 @@ class PeerProfiles:
 | 
			
		|||
    def loadScore(self):
 | 
			
		||||
        '''Load the node's score from the database'''
 | 
			
		||||
        try:
 | 
			
		||||
            self.success = int(self.coreInst.getAddressInfo('vd33hdxlp342nnzc.onion', 'success'))
 | 
			
		||||
            self.success = int(self.coreInst.getAddressInfo(self.address, 'success'))
 | 
			
		||||
        except TypeError:
 | 
			
		||||
            self.success = 0
 | 
			
		||||
        self.score = self.success
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue