typo
authorforrest <forrest@470744a7-cac9-478e-843e-5ec1b25c69e8>
Wed, 15 Jun 2011 23:20:13 +0000 (23:20 +0000)
committerforrest <forrest@470744a7-cac9-478e-843e-5ec1b25c69e8>
Wed, 15 Jun 2011 23:20:13 +0000 (23:20 +0000)
git-svn-id: svn://forre.st/p2pool@1322 470744a7-cac9-478e-843e-5ec1b25c69e8

p2pool.py

index d3b2d49..5c31d75 100644 (file)
--- a/p2pool.py
+++ b/p2pool.py
@@ -47,7 +47,7 @@ def calculate_merkle_branch(txn_list, index):
     return hash_list[0][2]
 
 def check_merkle_branch(txn, branch):
-    hash_ = bitcoind_p2p.doublesha(bitcoin_p2p.tx.pack(txn))
+    hash_ = bitcoin_p2p.doublesha(bitcoin_p2p.tx.pack(txn))
     for step in branch:
         if not step['side']:
             hash_ = bitcoin_p2p.doublesha(bitcoin_p2p.merkle_record.pack(dict(left=step['hash'], right=hash_)))