tfix get_pubkey for imported keys - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 90a558e02cd76e63feced594819d0124381fe4a7
DIR parent 1045b537aa0d3930b0889d4721ec499885d6d3ce
HTML Author: ThomasV <thomasv@gitorious>
Date: Tue, 3 Jun 2014 15:35:09 +0200
fix get_pubkey for imported keys
Diffstat:
M lib/account.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/lib/account.py b/lib/account.py
t@@ -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