git://git.novaco.in
/
p2pool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
7a49290
)
fixed typo in litecoin scrypt hash function
author
Forrest Voight
<forrest.voight@gmail.com>
Fri, 25 Nov 2011 19:16:35 +0000 (14:16 -0500)
committer
Forrest Voight
<forrest.voight@gmail.com>
Fri, 25 Nov 2011 19:16:35 +0000 (14:16 -0500)
p2pool/bitcoin/data.py
patch
|
blob
|
history
diff --git
a/p2pool/bitcoin/data.py
b/p2pool/bitcoin/data.py
index
d4643a2
..
cf1f091
100644
(file)
--- a/
p2pool/bitcoin/data.py
+++ b/
p2pool/bitcoin/data.py
@@
-108,7
+108,7
@@
class Type(object):
def scrypt(self, obj):
import ltc_scrypt
- return HashType().unpack(self.ltc_scrypt.getPoWHash(self.pack(obj)))
+ return HashType().unpack(ltc_scrypt.getPoWHash(self.pack(obj)))
class VarIntType(Type):
# redundancy doesn't matter here because bitcoin and p2pool both reencode before hashing