mirror of
https://github.com/ton-blockchain/ton
synced 2025-02-12 11:12:16 +00:00
emulator: set libraries when libs is NOT empty (#1449)
Co-authored-by: dbaranov34 <baranov34@gmail.com>
This commit is contained in:
parent
2ebc6d6a3c
commit
987c7ca04b
1 changed files with 1 additions and 1 deletions
|
@ -615,7 +615,7 @@ const char *tvm_emulator_emulate_run_method(uint32_t len, const char *params_boc
|
|||
emulator->set_vm_verbosity_level(0);
|
||||
emulator->set_gas_limit(gas_limit);
|
||||
emulator->set_c7_raw(c7->fetch(0).as_tuple());
|
||||
if (libs.is_empty()) {
|
||||
if (!libs.is_empty()) {
|
||||
emulator->set_libraries(std::move(libs));
|
||||
}
|
||||
auto result = emulator->run_get_method(int(method_id), stack);
|
||||
|
|
Loading…
Reference in a new issue