Update keystores.rs

This commit is contained in:
crypdough.eth 2023-01-23 21:45:46 -05:00 committed by GitHub
parent 4de393d305
commit 72d0d38c7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -28,9 +28,7 @@ async fn main() -> Result<()>{
let (signing_key, _) = LocalWallet::new_keystore(encryption_path, &mut thread_rng(), &password, Some("my_encrypted_keys"))
.expect("key store fail");
let (your_signing_key, _) = key_store;
println!("your signing key is: {:?}", your_signing_key);
println!("your signing key is: {:?}", signing_key);
//decrypt your keystore given the filepath with the password you encrypted it with originally