add_private_key() only takes mnemonic now.

This commit is contained in:
Amine Khaldi 2022-08-11 22:09:42 +01:00
parent 032264c294
commit e7ed776b93
No known key found for this signature in database
GPG Key ID: B1C074FFC904E2D9

View File

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