Open defi2026-dev opened 1 month ago
Hi, this method is intended to work without break, since it is subscription. You can stop it by context cancellation when you want
it's to break the inner loop, otherwise, it'll keep passing lastLT = 0
to ListTransactions
, and it never return a empty list to break the inner loop, that's what I see in my test case.
I just re-checked the case, ListTransactions(lastLT=0)
will return a non-nil error, then we'll retry in the inner loop, that's why it never breaks the inner loop.
Hi, this method is intended to work without break, since it is subscription. You can stop it by context cancellation when you want