Skip to content

Commit

Permalink
chore: clippy fixes for rust 1.65 (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
kayagokalp authored Nov 22, 2022
1 parent ad1d783 commit 30117cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,10 @@ pub(crate) fn display_string_discreetly(
pub(crate) fn save_phrase_to_disk(vault_path: &Path, mnemonic: &str, password: &str) {
let mnemonic_bytes: Vec<u8> = mnemonic.bytes().collect();
eth_keystore::encrypt_key(
&vault_path,
vault_path,
&mut rand::thread_rng(),
mnemonic_bytes,
&password,
password,
Some(".wallet"),
)
.unwrap_or_else(|error| {
Expand Down

0 comments on commit 30117cb

Please sign in to comment.