Skip to content

Commit

Permalink
Fix build issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
greg7mdp committed Jan 8, 2024
1 parent 16fc629 commit cf025f4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
1 change: 1 addition & 0 deletions libraries/chain/block_state_legacy.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include <eosio/chain/block_state_legacy.hpp>
#include <eosio/chain/block_header_state_utils.hpp>
#include <eosio/chain/exceptions.hpp>

namespace eosio { namespace chain {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,6 @@ namespace detail {
producer_authority_schedule schedule;
};

bool is_builtin_activated( const protocol_feature_activation_set_ptr& pfa,
const protocol_feature_set& pfs,
builtin_protocol_feature_t feature_codename );
}

using validator_t = const std::function<void(block_timestamp_type, const flat_set<digest_type>&, const vector<digest_type>&)>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
namespace eosio::chain::detail {

inline bool is_builtin_activated(const protocol_feature_activation_set_ptr& pfa,
const protocol_feature_set& pfs,
builtin_protocol_feature_t feature_codename) {
const protocol_feature_set& pfs,
builtin_protocol_feature_t feature_codename) {
auto digest = pfs.get_builtin_digest(feature_codename);
const auto& protocol_features = pfa->protocol_features;
return digest && protocol_features.find(*digest) != protocol_features.end();
Expand Down

0 comments on commit cf025f4

Please sign in to comment.