mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-28 16:01:30 +00:00
Merge pull request #5628 from TheCharlatan/fixMultisigDigitalBitBox
Digital BitBox: Fix sending to self
This commit is contained in:
commit
ddcd77ab36
1 changed files with 6 additions and 5 deletions
|
@ -570,6 +570,7 @@ class DigitalBitbox_KeyStore(Hardware_KeyStore):
|
||||||
assert o.type == TYPE_ADDRESS
|
assert o.type == TYPE_ADDRESS
|
||||||
info = tx.output_info.get(o.address)
|
info = tx.output_info.get(o.address)
|
||||||
if info is not None:
|
if info is not None:
|
||||||
|
if info.is_change:
|
||||||
index = info.address_index
|
index = info.address_index
|
||||||
changePath = self.get_derivation() + "/%d/%d" % index
|
changePath = self.get_derivation() + "/%d/%d" % index
|
||||||
changePubkey = self.derive_pubkey(index[0], index[1])
|
changePubkey = self.derive_pubkey(index[0], index[1])
|
||||||
|
|
Loading…
Add table
Reference in a new issue