mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
Return if !isParseBlockChainComplete
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
This commit is contained in:
parent
4b25adf32d
commit
a6762cb66a
@ -109,14 +109,16 @@ public class DaoPresentation implements DaoStateListener, DaoStateMonitoringServ
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onDaoStateHashesChanged() {
|
public void onDaoStateHashesChanged() {
|
||||||
if (daoStateService.isParseBlockChainComplete()) {
|
if (!daoStateService.isParseBlockChainComplete()) {
|
||||||
if (daoStateMonitoringService.isInConflictWithSeedNode() ||
|
return;
|
||||||
daoStateMonitoringService.isDaoStateBlockChainNotConnecting()) {
|
}
|
||||||
new Popup().warning(Res.get("popup.warning.daoNeedsResync"))
|
|
||||||
.actionButtonTextWithGoTo("navigation.dao.networkMonitor")
|
if (daoStateMonitoringService.isInConflictWithSeedNode() ||
|
||||||
.onAction(() -> navigation.navigateTo(MainView.class, DaoView.class, MonitorView.class, DaoStateMonitorView.class))
|
daoStateMonitoringService.isDaoStateBlockChainNotConnecting()) {
|
||||||
.show();
|
new Popup().warning(Res.get("popup.warning.daoNeedsResync"))
|
||||||
}
|
.actionButtonTextWithGoTo("navigation.dao.networkMonitor")
|
||||||
|
.onAction(() -> navigation.navigateTo(MainView.class, DaoView.class, MonitorView.class, DaoStateMonitorView.class))
|
||||||
|
.show();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user