mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-28 07:51:27 +00:00
Fix CPFP on change
This commit is contained in:
parent
31cd9753aa
commit
aa7434bdaa
1 changed files with 1 additions and 1 deletions
|
@ -318,7 +318,7 @@ class Ledger_KeyStore(Hardware_KeyStore):
|
||||||
for _type, address, amount in tx.outputs():
|
for _type, address, amount in tx.outputs():
|
||||||
assert _type == TYPE_ADDRESS
|
assert _type == TYPE_ADDRESS
|
||||||
info = tx.output_info.get(address)
|
info = tx.output_info.get(address)
|
||||||
if info is not None:
|
if (info is not None) and (len(tx.outputs()) != 1):
|
||||||
index, xpubs, m = info
|
index, xpubs, m = info
|
||||||
changePath = self.get_derivation()[2:] + "/%d/%d"%index
|
changePath = self.get_derivation()[2:] + "/%d/%d"%index
|
||||||
changeAmount = amount
|
changeAmount = amount
|
||||||
|
|
Loading…
Add table
Reference in a new issue