Skip to content

Commit

Permalink
Merge branch 'main' into svnn_ibc_tests_improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
systemzax committed May 15, 2024
2 parents 480125f + a0da117 commit b897d93
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libraries/chain/block_header_state.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ const finalizer_policy& block_header_state::get_last_proposed_finalizer_policy()
// Used to populate last_pending_finalizer_policy_digest which is expected to be the highest generation pending
const finalizer_policy& block_header_state::get_last_pending_finalizer_policy() const {
if (!finalizer_policies.empty()) {
// lambda only used when asserts enabled
[[maybe_unused]] auto highest_pending_generation = [this]() {
finalizer_policy_ptr highest;
for (auto ritr = finalizer_policies.rbegin(); ritr != finalizer_policies.rend(); ++ritr) {
Expand Down

0 comments on commit b897d93

Please sign in to comment.