mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-09-20 08:05:33 +03:00
add_private_key() only takes mnemonic now.
This commit is contained in:
parent
032264c294
commit
e7ed776b93
@ -217,7 +217,7 @@ def migrate_keys(forced: bool = False):
|
||||
keychain = Keychain()
|
||||
for sk, seed_bytes in keys_to_migrate:
|
||||
mnemonic = bytes_to_mnemonic(seed_bytes)
|
||||
keychain.add_private_key(mnemonic, "")
|
||||
keychain.add_private_key(mnemonic)
|
||||
fingerprint = sk.get_g1().get_fingerprint()
|
||||
print(f"Added private key with public key fingerprint {fingerprint}")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user