mirror of
https://github.com/oxen-io/oxen-core.git
synced 2023-12-14 02:22:56 +01:00
Don't constexpr operator< otherwise gitlab-ci complains (#839)
This commit is contained in:
parent
cbd22735d7
commit
a38d4310f7
1 changed files with 1 additions and 1 deletions
|
@ -357,7 +357,7 @@ namespace service_nodes
|
|||
state_t(block_height height) : height{height} {}
|
||||
state_t(cryptonote::Blockchain const &blockchain, state_serialized &&state);
|
||||
|
||||
constexpr bool operator<(const state_t &other) const { return this->height < other.height; }
|
||||
bool operator<(const state_t &other) const { return this->height < other.height; }
|
||||
std::vector<pubkey_and_sninfo> active_service_nodes_infos() const; // return: Filtered pubkey-sorted vector of service nodes that are active (fully funded and *not* decommissioned).
|
||||
std::vector<pubkey_and_sninfo> decommissioned_service_nodes_infos() const; // return: All nodes that are fully funded *and* decommissioned.
|
||||
std::vector<crypto::public_key> get_expired_nodes(cryptonote::BlockchainDB const &db, cryptonote::network_type nettype, uint8_t hf_version, uint64_t block_height) const;
|
||||
|
|
Loading…
Reference in a new issue