1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-03-09 15:40:10 +00:00

Fix infinity max_gas_limit for get methods

This commit is contained in:
OmicronTau 2021-12-23 10:39:14 +03:00 committed by EmelyanenkoK
parent 703bcd6e32
commit 1b480e39ba
2 changed files with 2 additions and 2 deletions

View file

@ -207,7 +207,7 @@ SmartContract::Answer SmartContract::run_get_method(Args args) const {
args.c7 = prepare_vm_c7(now, args.balance);
}
if (!args.limits) {
args.limits = vm::GasLimits{1000000};
args.limits = vm::GasLimits{1000000, 1000000};
}
if (!args.stack) {
args.stack = td::Ref<vm::Stack>(true);