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

[tonlib] Handle special cell in msg body (#789)

This commit is contained in:
Marat 2023-10-26 14:25:37 +02:00 committed by GitHub
parent 2bfa6240dd
commit 6a0d14f8ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2974,7 +2974,7 @@ struct ToRawTransactions {
if (type == 0 || type == 0x2167da4b) {
td::Status status;
auto r_body_message = vm::CellString::load(body.write());
auto r_body_message = TRY_VM(vm::CellString::load(body.write()));
LOG_IF(WARNING, r_body_message.is_error()) << "Failed to parse a message: " << r_body_message.error();
if (r_body_message.is_ok()) {