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

@ -386,6 +386,10 @@ class ValidatorManagerImpl : public ValidatorManager {
UNREACHABLE();
}
void update_options(td::Ref<ValidatorManagerOptions> opts) override {
opts_ = std::move(opts);
}
private:
PublicKeyHash local_id_;