mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 17:31:36 +00:00
fix issue #1865
This commit is contained in:
parent
84b6a1252a
commit
b0f6b8578e
1 changed files with 2 additions and 2 deletions
|
@ -859,8 +859,8 @@ class Transaction:
|
|||
threshold = 57600000
|
||||
weight = 0
|
||||
for txin in self.inputs():
|
||||
age = wallet.get_confirmations(txin["prevout_hash"])[0]
|
||||
weight += txin["value"] * age
|
||||
height, conf, timestamp = wallet.get_tx_height(txin["prevout_hash"])
|
||||
weight += txin["value"] * conf
|
||||
priority = weight / size
|
||||
print_error(priority, threshold)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue