fix npe if no monero connection on startup

This commit is contained in:
woodser 2023-07-31 12:52:06 -04:00
parent 2814d9dfc9
commit f9d0bb414e

View File

@ -561,7 +561,7 @@ public final class CoreMoneroConnectionsService {
}
// notify error message
HavenoUtils.havenoSetup.getWalletServiceErrorMsg().set(e.getMessage());
if (HavenoUtils.havenoSetup != null) HavenoUtils.havenoSetup.getWalletServiceErrorMsg().set(e.getMessage());
// check connection which notifies of changes
synchronized (this) {