mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
error on version == -1
This commit is contained in:
parent
d8eb7fccce
commit
b39e089638
1 changed files with 2 additions and 0 deletions
|
@ -2338,6 +2338,8 @@ td::Result<Ref<vm::Tuple>> ConfigInfo::get_prev_blocks_info() const {
|
||||||
seqno -= 100;
|
seqno -= 100;
|
||||||
}
|
}
|
||||||
tuple.push_back(td::make_cnt_ref<std::vector<vm::StackEntry>>(std::move(last_mc_blocks_100)));
|
tuple.push_back(td::make_cnt_ref<std::vector<vm::StackEntry>>(std::move(last_mc_blocks_100)));
|
||||||
|
} else if (get_global_version() == -1) {
|
||||||
|
return td::Status::Error("config version not set (needCapabilities)");
|
||||||
}
|
}
|
||||||
|
|
||||||
return td::make_cnt_ref<std::vector<vm::StackEntry>>(std::move(tuple));
|
return td::make_cnt_ref<std::vector<vm::StackEntry>>(std::move(tuple));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue