Fixed double PoW on pubkey messages.

This commit is contained in:
Arceliar 2013-05-29 22:39:51 +02:00
parent 128c6916af
commit 651cdd6357
1 changed files with 0 additions and 1 deletions

View File

@ -2750,7 +2750,6 @@ class singleWorker(threading.Thread):
initialHash = hashlib.sha512(payload).digest()
trialValue, nonce = proofofwork.run(target, initialHash)
print '(For pubkey message) Found proof of work', trialValue, 'Nonce:', nonce
trialValue, nonce = proofofwork.run(target, initialHash)
payload = pack('>Q',nonce) + payload
"""t = (hash,payload,embeddedTime,'no')
shared.sqlLock.acquire()