Skip to content

Commit

Permalink
[tonlib] Handle special cell in msg body (#789)
Browse files Browse the repository at this point in the history
  • Loading branch information
dungeon-master-666 authored Oct 26, 2023
1 parent 2bfa624 commit 6a0d14f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tonlib/tonlib/TonlibClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

0 comments on commit 6a0d14f

Please sign in to comment.