fixed add-peer
This commit is contained in:
parent
ab65f5ea95
commit
6bf679d107
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user