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

Reload validator options when needed

This commit is contained in:
SpyCheese 2022-08-16 13:54:15 +03:00
parent 011e97f53c
commit be2169e523
10 changed files with 47 additions and 4 deletions

View file

@ -331,6 +331,10 @@ void ShardClient::force_update_shard_client_ex(BlockHandle handle, td::Ref<Maste
applied_all_shards();
}
void ShardClient::update_options(td::Ref<ValidatorManagerOptions> opts) {
opts_ = std::move(opts);
}
} // namespace validator
} // namespace ton