removed accidental hardcode test in onionrpeers

This commit is contained in:
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

View File

@ -40,7 +40,7 @@ class PeerProfiles:
def loadScore(self): def loadScore(self):
'''Load the node's score from the database''' '''Load the node's score from the database'''
try: try:
self.success = int(self.coreInst.getAddressInfo('vd33hdxlp342nnzc.onion', 'success')) self.success = int(self.coreInst.getAddressInfo(self.address, 'success'))
except TypeError: except TypeError:
self.success = 0 self.success = 0
self.score = self.success self.score = self.success