no keyid for imported keys
This commit is contained in:
parent
4ef6adf3ce
commit
71429ef4bd
|
@ -1328,6 +1328,8 @@ class Wallet:
|
|||
def add_input_info(self, inputs):
|
||||
for txin in inputs:
|
||||
address = txin['address']
|
||||
if address in self.imported_keys.keys():
|
||||
continue
|
||||
account, sequence = self.get_address_index(address)
|
||||
txin['KeyID'] = self.get_keyID(account, sequence)
|
||||
redeemScript = self.accounts[account].redeem_script(sequence)
|
||||
|
|
Loading…
Reference in New Issue