commit d88cceecae99ff77e3676871dc00078c19520747
parent a4903fbf903ca06ca569608f049239509a6d2d4f
Author: ThomasV <thomasv@electrum.org>
Date: Sat, 12 Mar 2016 10:39:50 +0100
fix #1716: keypairs should be array not tuple
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/account.py b/lib/account.py
@@ -140,7 +140,7 @@ class ImportedAccount(Account):
def add(self, address, pubkey, privkey, password):
from wallet import pw_encode
- self.keypairs[address] = (pubkey, pw_encode(privkey, password ))
+ self.keypairs[address] = [pubkey, pw_encode(privkey, password)]
def remove(self, address):
self.keypairs.pop(address)