1
0

trezor/keepkey/dbb: provide info for all is_mine txn outputs

This commit is contained in:
SomberNight
2018-03-20 02:04:41 +01:00
parent 800ea1e300
commit 7d11812f55
4 changed files with 144 additions and 86 deletions

View File

@@ -1444,7 +1444,7 @@ class Abstract_Wallet(PrintError):
xpubs = self.get_master_public_keys()
for txout in tx.outputs():
_type, addr, amount = txout
if self.is_change(addr):
if self.is_mine(addr):
index = self.get_address_index(addr)
pubkeys = self.get_public_keys(addr)
# sort xpubs using the order of pubkeys