1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-02-15 04:32:21 +00:00

Merge pull request #7 from EmelyanenkoK/patch-1

Move CollatorConfig to -41 Config Param
This commit is contained in:
SpyCheese 2022-10-17 12:59:09 +03:00 committed by GitHub
commit e3823c46f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2135,7 +2135,7 @@ Ref<vm::Cell> ConfigInfo::lookup_library(td::ConstBitPtr root_hash) const {
CollatorConfig Config::get_collator_config(bool need_collator_nodes) const {
CollatorConfig collator_config;
gen::CollatorConfig::Record rec;
auto cell = get_config_param(41);
auto cell = get_config_param(-41);
if (cell.is_null() || !tlb::unpack_cell(std::move(cell), rec)) {
return collator_config;
}