mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-01 01:35:20 +00:00
no keyid for imported keys
This commit is contained in:
parent
4ef6adf3ce
commit
71429ef4bd
1 changed files with 2 additions and 0 deletions
|
@ -1328,6 +1328,8 @@ class Wallet:
|
||||||
def add_input_info(self, inputs):
|
def add_input_info(self, inputs):
|
||||||
for txin in inputs:
|
for txin in inputs:
|
||||||
address = txin['address']
|
address = txin['address']
|
||||||
|
if address in self.imported_keys.keys():
|
||||||
|
continue
|
||||||
account, sequence = self.get_address_index(address)
|
account, sequence = self.get_address_index(address)
|
||||||
txin['KeyID'] = self.get_keyID(account, sequence)
|
txin['KeyID'] = self.get_keyID(account, sequence)
|
||||||
redeemScript = self.accounts[account].redeem_script(sequence)
|
redeemScript = self.accounts[account].redeem_script(sequence)
|
||||||
|
|
Loading…
Add table
Reference in a new issue