Browse Source

fix #1716: keypairs should be array not tuple

283
ThomasV 9 years ago
parent
commit
d88cceecae
  1. 2
      lib/account.py

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

Loading…
Cancel
Save