From 651cdd6357e1531da0ede2a06c808357a129a4d8 Mon Sep 17 00:00:00 2001 From: Arceliar Date: Wed, 29 May 2013 22:39:51 +0200 Subject: [PATCH] Fixed double PoW on pubkey messages. --- src/bitmessagemain.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/bitmessagemain.py b/src/bitmessagemain.py index eab5fe0c..f8b85acf 100755 --- a/src/bitmessagemain.py +++ b/src/bitmessagemain.py @@ -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()