1
0
Fork 0
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:
ms 2022-04-14 22:49:10 +02:00 committed by EmelyanenkoK
parent b4ac32a452
commit ca167e9282

View file

@ -2350,7 +2350,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_;