fix #1716: keypairs should be array not tuple
This commit is contained in:
parent
a4903fbf90
commit
d88cceecae
@ -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…
Reference in New Issue
Block a user