Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/gh_2034_part2' into GH-2045-if-t…
Browse files Browse the repository at this point in the history
…ransision
  • Loading branch information
heifner committed Jan 13, 2024
2 parents 8408763 + 71cf33c commit 1c3315a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libraries/chain/include/eosio/chain/block_state.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,11 @@ struct block_state : public block_header_state { // block_header_state provi


// ------ data members caching information available elsewhere ----------------------
block_id_type cached_id; // cache of block_header_state::header.calculate_id() (indexed on this field)
bool pub_keys_recovered = false;
deque<transaction_metadata_ptr> cached_trxs;

// ------ functions -----------------------------------------------------------------
const block_id_type& id() const { return cached_id; }
const block_id_type& id() const { return block_header_state::id; }
const block_id_type& previous() const { return block_header_state::previous(); }
uint32_t block_num() const { return block_header_state::block_num(); }
block_timestamp_type timestamp() const { return block_header_state::timestamp(); }
Expand Down

0 comments on commit 1c3315a

Please sign in to comment.