git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
1045b53
)
fix get_pubkey for imported keys
author
ThomasV
<thomasv@gitorious>
Tue, 3 Jun 2014 13:35:09 +0000 (15:35 +0200)
committer
ThomasV
<thomasv@gitorious>
Tue, 3 Jun 2014 13:35:09 +0000 (15:35 +0200)
lib/account.py
patch
|
blob
|
history
diff --git
a/lib/account.py
b/lib/account.py
index
7329ff5
..
3ef6400
100644
(file)
--- 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