fix issue #1865
This commit is contained in:
@@ -859,8 +859,8 @@ class Transaction:
|
|||||||
threshold = 57600000
|
threshold = 57600000
|
||||||
weight = 0
|
weight = 0
|
||||||
for txin in self.inputs():
|
for txin in self.inputs():
|
||||||
age = wallet.get_confirmations(txin["prevout_hash"])[0]
|
height, conf, timestamp = wallet.get_tx_height(txin["prevout_hash"])
|
||||||
weight += txin["value"] * age
|
weight += txin["value"] * conf
|
||||||
priority = weight / size
|
priority = weight / size
|
||||||
print_error(priority, threshold)
|
print_error(priority, threshold)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user