Implemented support for multiple keys.

This commit is contained in:
Revertron
2021-05-14 14:14:45 +02:00
parent 6dceac8612
commit 31ba599662
11 changed files with 229 additions and 48 deletions
+1 -1
View File
@@ -247,7 +247,7 @@ pub fn create_key(context: Arc<Mutex<Context>>) {
let path = keystore.get_path().to_owned();
let public = keystore.get_public().to_string();
info!("Key mined successfully! Public key: {}, hash: {}", &public, &hash);
context.set_keystore(Some(keystore));
context.add_keystore(keystore);
post(Event::KeyCreated { path, public, hash });
}
}