Skip to content

Commit

Permalink
Refactor: Rename
Browse files Browse the repository at this point in the history
Signed-off-by: HenrikJannsen <[email protected]>
  • Loading branch information
HenrikJannsen committed Jun 20, 2024
1 parent 449cba4 commit 81832e1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public interface Listener {
default void onDaoStateHashesChanged() {
}

default void onCheckpointFail() {
default void onCheckpointFailed() {
}

default void onDaoStateBlockCreated() {
Expand Down Expand Up @@ -488,7 +488,7 @@ private void verifyCheckpoints() {
} catch (Throwable t) {
log.error("removeAndBackupAllDaoData failed", t);
}
listeners.forEach(Listener::onCheckpointFail);
listeners.forEach(Listener::onCheckpointFailed);
}
}));
}
Expand Down
2 changes: 1 addition & 1 deletion desktop/src/main/java/bisq/desktop/main/MainView.java
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ protected Tooltip computeValue() {
///////////////////////////////////////////////////////////////////////////////////////////

@Override
public void onCheckpointFail() {
public void onCheckpointFailed() {
new Popup().attention(Res.get("dao.monitor.daoState.checkpoint.popup"))
.useShutDownButton()
.hideCloseButton()
Expand Down
2 changes: 1 addition & 1 deletion seednode/src/main/java/bisq/seednode/SeedNode.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public void startApplication() {

injector.getInstance(DaoStateMonitoringService.class).addListener(new DaoStateMonitoringService.Listener() {
@Override
public void onCheckpointFail() {
public void onCheckpointFailed() {
gracefulShutDownHandler.gracefulShutDown();
}
});
Expand Down

0 comments on commit 81832e1

Please sign in to comment.