mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 17:31:36 +00:00
test is_mine in add_keypairs_from_wallet
This commit is contained in:
parent
0063edb61b
commit
e18573dda0
1 changed files with 2 additions and 0 deletions
|
@ -741,6 +741,8 @@ class Wallet:
|
|||
def add_keypairs_from_wallet(self, tx, keypairs, password):
|
||||
for txin in tx.inputs:
|
||||
address = txin['address']
|
||||
if not self.is_mine(address):
|
||||
continue
|
||||
private_keys = self.get_private_key(address, password)
|
||||
for sec in private_keys:
|
||||
pubkey = public_key_from_private_key(sec)
|
||||
|
|
Loading…
Add table
Reference in a new issue