From 0e06c218d812fe7df9b711433e769d844286139c Mon Sep 17 00:00:00 2001 From: thomasv Date: Thu, 3 Oct 2013 18:58:50 +0200 Subject: [PATCH] fix: tx_hash -> prevout_hash --- lib/transaction.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/transaction.py b/lib/transaction.py index 73ddd7b91..c6b0b0374 100644 --- a/lib/transaction.py +++ b/lib/transaction.py @@ -708,7 +708,7 @@ class Transaction: return True sum = 0 for i in self.inputs: - age = verifier.get_confirmations(i["tx_hash"])[0] + age = verifier.get_confirmations(i["prevout_hash"])[0] sum += i["value"] * age priority = sum / size print_error(priority, threshold)