Closed pr0n1x closed 11 months ago
In some cases first transaction in the result is fulfils this condition https://github.com/xssnick/tonutils-go/blob/a7f4ad3fdb53556b4d9084216e408c05ffaf0bed/ton/transactions.go#L243 Therefore transactions variable contains empty slice which leads to panic in this line https://github.com/xssnick/tonutils-go/blob/a7f4ad3fdb53556b4d9084216e408c05ffaf0bed/ton/transactions.go#L253
Good catch, thank you! Will merge it tomorrow and make a new fixup tag
In some cases first transaction in the result is fulfils this condition https://github.com/xssnick/tonutils-go/blob/a7f4ad3fdb53556b4d9084216e408c05ffaf0bed/ton/transactions.go#L243 Therefore transactions variable contains empty slice which leads to panic in this line https://github.com/xssnick/tonutils-go/blob/a7f4ad3fdb53556b4d9084216e408c05ffaf0bed/ton/transactions.go#L253