From 72d0d38c7c25ee1b76bce297449aa9f91b0e256c Mon Sep 17 00:00:00 2001 From: "crypdough.eth" <106392730+crypdoughdoteth@users.noreply.github.com> Date: Mon, 23 Jan 2023 21:45:46 -0500 Subject: [PATCH] Update keystores.rs --- examples/wallets/examples/keystores.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/examples/wallets/examples/keystores.rs b/examples/wallets/examples/keystores.rs index ea592abf..204c874e 100644 --- a/examples/wallets/examples/keystores.rs +++ b/examples/wallets/examples/keystores.rs @@ -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