1
0
Fork 0
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:
Marat S 2025-02-06 02:00:44 +00:00
parent d8eb7fccce
commit b39e089638

View file

@ -2338,6 +2338,8 @@ td::Result<Ref<vm::Tuple>> ConfigInfo::get_prev_blocks_info() const {
seqno -= 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));