Skip to content

Commit

Permalink
Remove unneeded code
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 765a3bc commit 2825742
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -356,11 +356,7 @@ private void resyncDaoStateFromResources() {
try {
daoStateStorageService.removeAndBackupAllDaoData();
// the restart handler informs the user of the need to restart bisq (in desktop mode)
if (daoRequiresRestartHandler == null) {
log.error("No daoRequiresRestartHandler");
} else {
daoRequiresRestartHandler.run();
}
daoRequiresRestartHandler.run();
} catch (IOException e) {
log.error("Error at resyncDaoStateFromResources: {}", e.toString());
}
Expand Down

0 comments on commit 2825742

Please sign in to comment.