commit 90a558e02cd76e63feced594819d0124381fe4a7
parent 1045b537aa0d3930b0889d4721ec499885d6d3ce
Author: ThomasV <thomasv@gitorious>
Date: Tue, 3 Jun 2014 15:35:09 +0200
fix get_pubkey for imported keys
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/account.py b/lib/account.py
@@ -86,7 +86,7 @@ class ImportedAccount(Account):
for_change, i = sequence
assert for_change == 0
addr = self.get_addresses(0)[i]
- return self.keypairs[addr][i][0]
+ return self.keypairs[addr][0]
def get_private_key(self, sequence, wallet, password):
from wallet import pw_decode