transaction.py: introduce TxOutputHwInfo namedtuple
This commit is contained in:
@@ -399,7 +399,7 @@ class Ledger_KeyStore(Hardware_KeyStore):
|
||||
info = tx.output_info.get(o.address)
|
||||
if (info is not None) and len(tx.outputs()) > 1 \
|
||||
and not has_change:
|
||||
index, xpubs, m = info
|
||||
index = info.address_index
|
||||
on_change_branch = index[0] == 1
|
||||
# prioritise hiding outputs on the 'change' branch from user
|
||||
# because no more than one change address allowed
|
||||
|
||||
Reference in New Issue
Block a user