diff --git a/src/wallet/wallet.rs b/src/wallet/wallet.rs index 9f02526..3c3b9c0 100644 --- a/src/wallet/wallet.rs +++ b/src/wallet/wallet.rs @@ -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) } }