fixed add-peer

This commit is contained in:
Kevin Froman 2018-07-13 01:14:09 -05:00
parent ab65f5ea95
commit 6bf679d107
No known key found for this signature in database
GPG Key ID: 0D414D0FE405B63B

View File

@ -390,7 +390,7 @@ class Onionr:
return return
if not '-' in newPeer: if not '-' in newPeer:
logger.info('Since no POW token was supplied for that key, one is being generated') logger.info('Since no POW token was supplied for that key, one is being generated')
proof = onionrproofs.POW(newPeer) proof = onionrproofs.DataPOW(newPeer)
while True: while True:
result = proof.getResult() result = proof.getResult()
if result == False: if result == False: