Skip to content

Commit

Permalink
GH-2102 Log irreversible even when head not updated
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Apr 3, 2024
1 parent cf50336 commit 053fe72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/chain/controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4049,8 +4049,8 @@ struct controller_impl {
head_changed = false;
}

if( head_changed )
log_irreversible();
// irreversible can change even if block not applied to head, integrated qc can move LIB
log_irreversible();
};

fork_db.apply<void>(do_maybe_switch_forks);
Expand Down

0 comments on commit 053fe72

Please sign in to comment.