Skip to content

Commit

Permalink
Use c++17
Browse files Browse the repository at this point in the history
  • Loading branch information
tvorogme committed Dec 16, 2024
1 parent 6892954 commit f4c765b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion validator/full-node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ void FullNodeImpl::update_validator_telemetry_collector() {
validator_telemetry_collector_key_ = PublicKeyHash::zero();
return;
}
if (!private_block_overlays_.contains(validator_telemetry_collector_key_)) {
if (private_block_overlays_.find(validator_telemetry_collector_key_) == private_block_overlays_.end()) {
auto it = private_block_overlays_.begin();
validator_telemetry_collector_key_ = it->first;
td::actor::send_closure(it->second, &FullNodePrivateBlockOverlay::collect_validator_telemetry,
Expand Down

0 comments on commit f4c765b

Please sign in to comment.