mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Fix extracting version from config in tonlib (#748)
Co-authored-by: SpyCheese <mikle98@yandex.ru>
This commit is contained in:
parent
50d2361394
commit
6074702d05
1 changed files with 2 additions and 1 deletions
|
@ -93,7 +93,8 @@ td::Status LastConfig::process_config_proof(ton::ton_api::object_ptr<ton::lite_a
|
|||
}
|
||||
TRY_RESULT(state, block::check_extract_state_proof(blkid, raw_config->state_proof_.as_slice(),
|
||||
raw_config->config_proof_.as_slice()));
|
||||
TRY_RESULT(config, block::ConfigInfo::extract_config(std::move(state), block::ConfigInfo::needPrevBlocks));
|
||||
TRY_RESULT(config, block::ConfigInfo::extract_config(
|
||||
std::move(state), block::ConfigInfo::needPrevBlocks | block::ConfigInfo::needCapabilities));
|
||||
|
||||
for (auto i : params_) {
|
||||
VLOG(last_config) << "ConfigParam(" << i << ") = ";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue