fix #1716: keypairs should be array not tuple

This commit is contained in:
ThomasV 2016-03-12 10:39:50 +01:00
parent a4903fbf90
commit d88cceecae

View File

@ -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)