1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-02-14 12:12:21 +00:00

Fix *DATASIZE* opcode log msg (#1465)

Co-authored-by: EmelyanenkoK <emelyanenko.kirill@gmail.com>
This commit is contained in:
Victor S. 2025-01-15 10:39:05 +03:00 committed by GitHub
parent 652f4f0141
commit f6fa986b33
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1293,7 +1293,7 @@ void register_ton_crypto_ops(OpcodeTable& cp0) {
}
int exec_compute_data_size(VmState* st, int mode) {
VM_LOG(st) << (mode & 2 ? 'S' : 'C') << "DATASIZE" << (mode & 1 ? "Q" : "");
VM_LOG(st) << "execute " << (mode & 2 ? 'S' : 'C') << "DATASIZE" << (mode & 1 ? "Q" : "");
Stack& stack = st->get_stack();
stack.check_underflow(2);
auto bound = stack.pop_int();