added debug msg for adding peers
parent
28fd4f4858
commit
fdceb4be90
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue