mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Enable VmState::jump_to bugfix in version 9 (#1491)
This commit is contained in:
parent
0f6cf13d45
commit
da5644e758
3 changed files with 4 additions and 4 deletions
|
@ -375,8 +375,7 @@ class VmState final : public VmStateInterface {
|
|||
if (cnt > free_nested_cont_jump && global_version >= 9) {
|
||||
consume_gas(1);
|
||||
}
|
||||
|
||||
if (cont.not_null()) {
|
||||
if (cont.not_null() && global_version >= 9) {
|
||||
const ControlData* cont_data = cont->get_cdata();
|
||||
if (cont_data && (cont_data->stack.not_null() || cont_data->nargs >= 0)) {
|
||||
// if cont has non-empty stack or expects fixed number of arguments, jump is not simple
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue