commit 71429ef4bd67dbe5a45aef6bbb0d8e5d3d1c3fc3
parent 4ef6adf3cee9d3d99d648162528ed712fdf8f0ac
Author: thomasv <thomasv@gitorious>
Date: Thu, 31 Oct 2013 17:00:20 +0100
no keyid for imported keys
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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)