1
0

fix command line: create, restore, importprivkey

This commit is contained in:
ThomasV
2016-08-12 11:56:27 +02:00
parent 1159f85e05
commit b0afdf4614
2 changed files with 15 additions and 9 deletions

View File

@@ -1435,6 +1435,7 @@ class Standard_Wallet(Deterministic_Wallet, P2PK_Wallet):
def import_key(self, pk, pw):
pubkey = self.keystore.import_key(pk, pw)
self.keystore.save(self.storage, self.root_name)
self.receiving_pubkeys.append(pubkey)
self.save_pubkeys()
addr = self.pubkeys_to_address(pubkey)