From 71429ef4bd67dbe5a45aef6bbb0d8e5d3d1c3fc3 Mon Sep 17 00:00:00 2001 From: thomasv Date: Thu, 31 Oct 2013 17:00:20 +0100 Subject: [PATCH] no keyid for imported keys --- lib/wallet.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/wallet.py b/lib/wallet.py index c8f11a93..41102cf6 100644 --- a/lib/wallet.py +++ b/lib/wallet.py @@ -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)