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

Improve block broadcasts

This commit is contained in:
SpyCheese 2024-07-25 16:33:19 +03:00
parent 4c8d25ac1b
commit 0e7374610d
20 changed files with 125 additions and 278 deletions

View file

@ -255,7 +255,9 @@ void FullNodeFastSyncOverlay::get_stats_extra(td::Promise<std::string> promise)
for (const auto &x : root_public_keys_) {
res->root_public_keys_.push_back(x.bits256_value());
}
res->member_certificate_ = member_certificate_.tl();
if (!member_certificate_.empty()) {
res->member_certificate_ = member_certificate_.tl();
}
promise.set_result(td::json_encode<std::string>(td::ToJson(*res), true));
}