clear monero connection error & popup on successful poll

This commit is contained in:
woodser 2025-04-08 17:17:04 -04:00 committed by woodser
parent 974c6a0d86
commit 35eb65d173

View File

@ -808,6 +808,7 @@ public final class XmrConnectionService {
// connected to daemon
isConnected = true;
connectionServiceError.set(null);
// determine if blockchain is syncing locally
boolean blockchainSyncing = lastInfo.getHeight().equals(lastInfo.getHeightWithoutBootstrap()) || (lastInfo.getTargetHeight().equals(0l) && lastInfo.getHeightWithoutBootstrap().equals(0l)); // blockchain is syncing if height equals height without bootstrap, or target height and height without bootstrap both equal 0