Skip to content
Snippets Groups Projects
Commit 3738e8b7 authored by Nicolas80's avatar Nicolas80
Browse files

* Fix for `vault migrate` that should use sr25519 scheme to be consistent

parent cfda5c16
No related branches found
No related tags found
1 merge request!44feat: Can choose between ed25519 ans sr25519
......@@ -595,11 +595,12 @@ pub async fn handle_command(data: Data, command: Subcommand) -> Result<(), GcliE
let txn = db.begin().await?;
// Old key files were in Sr25519 format (and had the Address associated to that scheme)
let account = create_base_account_for_vault_data_to_import(
&txn,
&vault_data_to_import,
Some(&vault_data_from_file.password),
Some(CryptoScheme::Ed25519),
Some(CryptoScheme::Sr25519),
None,
)
.await;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment