Skip to content

Commit

Permalink
Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
greg7mdp committed Jan 20, 2024
1 parent a0a5573 commit 5cae9d9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions libraries/chain/fork_database.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -337,10 +337,8 @@ namespace eosio::chain {
const auto& exts = n->header_exts;

if (exts.count(protocol_feature_activation::extension_id()) > 0) {
const auto& new_protocol_features =
std::get<protocol_feature_activation>(
exts.lower_bound(protocol_feature_activation::extension_id())->second)
.protocol_features;
const auto& pfa = exts.lower_bound(protocol_feature_activation::extension_id())->second;
const auto& new_protocol_features = std::get<protocol_feature_activation>(pfa).protocol_features;
validator(n->timestamp(),
static_cast<bs*>(prev_bh.get())->get_activated_protocol_features()->protocol_features,
new_protocol_features);
Expand Down

0 comments on commit 5cae9d9

Please sign in to comment.