mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
updated fift
updated fift updated some smartcontracts added partial support for hardforks
This commit is contained in:
parent
2845f9a2cc
commit
841d5ebac2
16 changed files with 202 additions and 39 deletions
|
@ -942,7 +942,9 @@ void interpret_fetch(vm::Stack& stack, int mode) {
|
|||
auto n = stack.pop_smallint_range(256 + (mode & 1));
|
||||
auto cs = stack.pop_cellslice();
|
||||
if (!cs->have(n)) {
|
||||
stack.push(std::move(cs));
|
||||
if (mode & 2) {
|
||||
stack.push(std::move(cs));
|
||||
}
|
||||
stack.push_bool(false);
|
||||
if (!(mode & 4)) {
|
||||
throw IntError{"end of data while reading integer from cell"};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue