fixed typo in litecoin scrypt hash function
authorForrest Voight <forrest.voight@gmail.com>
Fri, 25 Nov 2011 19:16:35 +0000 (14:16 -0500)
committerForrest Voight <forrest.voight@gmail.com>
Fri, 25 Nov 2011 19:16:35 +0000 (14:16 -0500)
p2pool/bitcoin/data.py

index d4643a2..cf1f091 100644 (file)
@@ -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