1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-03-09 15:40:10 +00:00

Update validator list on each keyblock

This commit is contained in:
EmelyanenkoK 2024-06-04 13:09:06 +03:00 committed by GitHub
parent 0301e9fbb7
commit f9b6d21620
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -395,9 +395,10 @@ void FullNodeImpl::got_key_block_config(td::Ref<ConfigHolder> config) {
update_private_overlays(); update_private_overlays();
} }
if (keys == all_validators_) { // Let's turn off this optimization, since keyblocks are rare enough to update on each keyblock
return; // if (keys == all_validators_) {
} // return;
// }
all_validators_ = keys; all_validators_ = keys;
sign_cert_by_ = l; sign_cert_by_ = l;