git://git.novaco.in
/
p2pool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
360df0a
)
fixed litecoin compatibility hack
author
Forrest Voight
<forrest.voight@gmail.com>
Thu, 24 Nov 2011 18:03:27 +0000 (13:03 -0500)
committer
Forrest Voight
<forrest.voight@gmail.com>
Thu, 24 Nov 2011 18:03:27 +0000 (13:03 -0500)
p2pool/data.py
patch
|
blob
|
history
diff --git
a/p2pool/data.py
b/p2pool/data.py
index
0a51836
..
20ac557
100644
(file)
--- a/
p2pool/data.py
+++ b/
p2pool/data.py
@@
-148,7
+148,7
@@
class Share(object):
self.bitcoin_hash = net.BITCOIN_POW_FUNC(header)
- if net.BITCOIN_POW_FUNC is bitcoin_data.block_header_type.scrypt:
+ if net.BITCOIN_POW_FUNC == bitcoin_data.block_header_type.scrypt:
# compatibility hack
self.hash = share1a_type.scrypt(self.as_share1a())
else: