mirror of
https://github.com/jwinterm/grim.git
synced 2026-10-17 14:21:24 +02:00
fix: do not clear wallet instance on wrong entered password if syncing
This commit is contained in:
@@ -356,7 +356,9 @@ impl Wallet {
|
||||
self.is_open.store(true, Ordering::Relaxed);
|
||||
}
|
||||
Err(e) => {
|
||||
self.instance = None;
|
||||
if !self.syncing() {
|
||||
self.instance = None;
|
||||
}
|
||||
return Err(e)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user