mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
fullnode: added getCapabilities query
This commit is contained in:
parent
a1e352d894
commit
07b26e2259
11 changed files with 58 additions and 8 deletions
|
@ -1679,11 +1679,15 @@ void ValidatorEngine::try_add_validator_temp_key(ton::PublicKeyHash perm_key, to
|
|||
return;
|
||||
}
|
||||
|
||||
td::MultiPromise mp;
|
||||
auto ig = mp.init_guard();
|
||||
ig.add_promise(std::move(promise));
|
||||
|
||||
if (!validator_manager_.empty()) {
|
||||
td::actor::send_closure(validator_manager_, &ton::validator::ValidatorManagerInterface::add_temp_key, temp_key,
|
||||
std::move(promise));
|
||||
ig.get_promise());
|
||||
}
|
||||
write_config(std::move(promise));
|
||||
write_config(ig.get_promise());
|
||||
}
|
||||
|
||||
void ValidatorEngine::try_add_validator_adnl_addr(ton::PublicKeyHash perm_key, ton::PublicKeyHash adnl_id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue