removed accidental hardcode test in onionrpeers

master
Kevin Froman 2018-07-31 00:34:16 -05:00
parent 34a970d008
commit c4f2327e49
No known key found for this signature in database
GPG Key ID: 0D414D0FE405B63B
1 changed files with 1 additions and 1 deletions

View File

@ -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