Skip to content

Commit

Permalink
Fix: don't erase enc private key when importing (may need to try again)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikedilger committed Sep 18, 2023
1 parent 1a953f4 commit 7d6faae
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/ui/you/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -343,8 +343,6 @@ fn offer_import_priv_key(app: &mut GossipUi, ui: &mut Ui) {
app.import_priv.clone(),
app.password.clone(),
));
app.import_priv.zeroize();
app.import_priv = "".to_owned();
}
app.password.zeroize();
app.password = "".to_owned();
Expand Down

0 comments on commit 7d6faae

Please sign in to comment.