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:
parent
0301e9fbb7
commit
f9b6d21620
1 changed files with 4 additions and 3 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue