mirror of
https://github.com/ton-blockchain/ton
synced 2025-02-15 04:32:21 +00:00
Move CollatorConfig to -41 Config Param
This commit is contained in:
parent
0e428af807
commit
23dbf2d834
1 changed files with 1 additions and 1 deletions
|
@ -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 Config::get_collator_config(bool need_collator_nodes) const {
|
||||||
CollatorConfig collator_config;
|
CollatorConfig collator_config;
|
||||||
gen::CollatorConfig::Record rec;
|
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)) {
|
if (cell.is_null() || !tlb::unpack_cell(std::move(cell), rec)) {
|
||||||
return collator_config;
|
return collator_config;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue