git://git.novaco.in
/
p2pool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
c0f4108
)
fixed checking mm work against incorrect target when mining on multiple mm chains
author
Forrest Voight
<forrest@forre.st>
Sat, 28 Jul 2012 21:40:15 +0000 (17:40 -0400)
committer
Forrest Voight
<forrest@forre.st>
Sat, 28 Jul 2012 21:40:26 +0000 (17:40 -0400)
p2pool/work.py
patch
|
blob
|
history
diff --git
a/p2pool/work.py
b/p2pool/work.py
index
856a894
..
5aeee7e
100644
(file)
--- a/
p2pool/work.py
+++ b/
p2pool/work.py
@@
-284,7
+284,7
@@
class WorkerBridge(worker_interface.WorkerBridge):
)).encode('hex'),
)
@df.addCallback
- def _(result):
+ def _(result, aux_work=aux_work):
if result != (pow_hash <= aux_work['target']):
print >>sys.stderr, 'Merged block submittal result: %s Expected: %s' % (result, pow_hash <= aux_work['target'])
else: