Skip to content

Commit

Permalink
Update libraries/hotstuff/include/eosio/hotstuff/qc_chain.hpp
Browse files Browse the repository at this point in the history
Co-authored-by: Gregory Popovitch <[email protected]>
  • Loading branch information
systemzax and greg7mdp authored Sep 25, 2023
1 parent e3c8843 commit f6d7f06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/hotstuff/include/eosio/hotstuff/qc_chain.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ namespace eosio::hotstuff {

uint64_t get_state_version() const { return _state_version; } // no lock required

std::string get_id_i() const { return _id; } // so far, only ever relevant in a test environment and for logging (no sync)
const std::string& get_id_i() const { return _id; } // so far, only ever relevant in a test environment and for logging (no sync)

// Calls to the following methods should be thread-synchronized externally:

Expand Down

0 comments on commit f6d7f06

Please sign in to comment.