mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Remove limit on count of returned out_msgs
This commit is contained in:
parent
b4ac32a452
commit
ca167e9282
1 changed files with 1 additions and 1 deletions
|
@ -2350,7 +2350,7 @@ struct ToRawTransactions {
|
||||||
|
|
||||||
if (trans.outmsg_cnt != 0) {
|
if (trans.outmsg_cnt != 0) {
|
||||||
vm::Dictionary dict{trans.r1.out_msgs, 15};
|
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})));
|
TRY_RESULT(out_msg, to_raw_message(dict.lookup_ref(td::BitArray<15>{x})));
|
||||||
fees += out_msg->fwd_fee_;
|
fees += out_msg->fwd_fee_;
|
||||||
fees += out_msg->ihr_fee_;
|
fees += out_msg->ihr_fee_;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue