clear monero connection error & popup on successful poll

This commit is contained in:
woodser 2025-04-08 17:17:04 -04:00
parent a5ce48c752
commit 15c97d9b1a
No known key found for this signature in database
GPG Key ID: 55A10DD48ADEE5EF

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