mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-10-10 17:48:43 -04:00
disable repeat sync to latest target height after first sync
This commit is contained in:
parent
f21bb3a3ed
commit
eaf23af15f
1 changed files with 1 additions and 1 deletions
|
@ -1466,7 +1466,7 @@ public class XmrWalletService extends XmrWalletBase {
|
|||
long time = System.currentTimeMillis();
|
||||
MoneroRpcConnection sourceConnection = xmrConnectionService.getConnection();
|
||||
try {
|
||||
syncWithProgress(true); // repeat sync to latest target height
|
||||
syncWithProgress(!wasWalletSynced); // repeat sync to latest target height until first sync
|
||||
} catch (Exception e) {
|
||||
if (wallet != null) log.warn("Error syncing wallet with progress on startup: " + e.getMessage());
|
||||
forceCloseMainWallet();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue