git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
50c9830
)
fix: tx_hash -> prevout_hash
author
thomasv
<thomasv@gitorious>
Thu, 3 Oct 2013 16:58:50 +0000 (18:58 +0200)
committer
thomasv
<thomasv@gitorious>
Thu, 3 Oct 2013 16:58:50 +0000 (18:58 +0200)
lib/transaction.py
patch
|
blob
|
history
diff --git
a/lib/transaction.py
b/lib/transaction.py
index
73ddd7b
..
c6b0b03
100644
(file)
--- 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)