Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

Commit

Permalink
remove out_msgs limit
Browse files Browse the repository at this point in the history
  • Loading branch information
dungeon-master-666 authored and maratsarbasov committed May 13, 2022
1 parent c2d93f6 commit efb5ab4
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 @@ -2430,7 +2430,7 @@ struct ToRawTransactions {

if (trans.outmsg_cnt != 0) {
vm::Dictionary dict{trans.r1.out_msgs, 15};
for (int x = 0; x < trans.outmsg_cnt && x < 100; x++) {
for (int x = 0; x < trans.outmsg_cnt; x++) {
TRY_RESULT(out_msg, to_raw_message(dict.lookup_ref(td::BitArray<15>{x})));
fees += out_msg->fwd_fee_;
fees += out_msg->ihr_fee_;
Expand Down

0 comments on commit efb5ab4

Please sign in to comment.