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

Merge pull request #1529 from ton-blockchain/master

Merge master
This commit is contained in:
EmelyanenkoK 2025-02-21 11:27:28 +03:00 committed by GitHub
commit 901467f424
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1905,6 +1905,9 @@ void LiteQuery::continue_getConfigParams(int mode, std::vector<int> param_list)
} }
cfg = res.move_as_ok(); cfg = res.move_as_ok();
} else { } else {
if (mode & block::ConfigInfo::needPrevBlocks) {
mode |= block::ConfigInfo::needCapabilities;
}
auto res = block::ConfigInfo::extract_config(mpb.root(), mode); auto res = block::ConfigInfo::extract_config(mpb.root(), mode);
if (res.is_error()) { if (res.is_error()) {
fatal_error(res.move_as_error()); fatal_error(res.move_as_error());