mirror of
https://github.com/jwinterm/grim.git
synced 2026-11-24 14:53:55 +01:00
wallet: accounts selection, fix config access from different threads
This commit is contained in:
@@ -132,10 +132,4 @@ impl WalletConfig {
|
||||
let config_path = Self::get_config_file_path(self.chain_type, self.id);
|
||||
Settings::write_to_file(self, config_path);
|
||||
}
|
||||
|
||||
/// Save account label value.
|
||||
pub fn save_account(&mut self, label: &String) {
|
||||
self.account = label.to_owned();
|
||||
self.save();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user