tfix #1716: keypairs should be array not tuple - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit d88cceecae99ff77e3676871dc00078c19520747 DIR parent a4903fbf903ca06ca569608f049239509a6d2d4f HTML Author: ThomasV <thomasv@electrum.org> Date: Sat, 12 Mar 2016 10:39:50 +0100 fix #1716: keypairs should be array not tuple 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@@ -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)