mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Fix validator session options hash; fix proto_version
This commit is contained in:
parent
ce65245a69
commit
30ba32bef9
4 changed files with 13 additions and 7 deletions
|
@ -1726,8 +1726,8 @@ void ValidatorManagerImpl::update_shards() {
|
|||
td::uint32 threshold = 9407194;
|
||||
bool force_group_id_upgrade = last_masterchain_seqno_ == threshold;
|
||||
auto legacy_opts_hash = opts.get_hash();
|
||||
if(last_masterchain_seqno_ >= threshold) { //TODO move to get_consensus_config()
|
||||
opts.proto_version = 1;
|
||||
if (last_masterchain_seqno_ >= threshold) { //TODO move to get_consensus_config()
|
||||
opts.proto_version = std::max<td::uint32>(opts.proto_version, 1);
|
||||
}
|
||||
auto opts_hash = opts.get_hash();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue