added debug msg for adding peers

This commit is contained in:
Kevin Froman 2018-04-03 15:32:01 -05:00
parent 28fd4f4858
commit fdceb4be90
No known key found for this signature in database
GPG Key ID: 0D414D0FE405B63B
1 changed files with 2 additions and 1 deletions

View File

@ -39,7 +39,7 @@ class OnionrUtils:
def sendPM(self, user, message): def sendPM(self, user, message):
'''High level function to encrypt a message to a peer and insert it as a block''' '''High level function to encrypt a message to a peer and insert it as a block'''
return return
def incrementAddressSuccess(self, address): def incrementAddressSuccess(self, address):
@ -72,6 +72,7 @@ class OnionrUtils:
for adder in newAdderList: for adder in newAdderList:
if not adder in self._core.listAdders(randomOrder=False): if not adder in self._core.listAdders(randomOrder=False):
if self._core.addAddress(adder): if self._core.addAddress(adder):
logger.info('added ' + adder + ' to db')
retVal = True retVal = True
return retVal return retVal