xssnick / tonutils-go

TON SDK Library in pure Golang for interacting with The Open Network ecosystem using native protocols, such as ADNL, RLDP and etc.
Apache License 2.0
464 stars 95 forks source link

ListTransactions() always fail with -400 error #195

Closed leonqiu2012 closed 3 months ago

leonqiu2012 commented 3 months ago

I'm trying to load history transaction of an wallet, but always get this error:

send err: lite server error, code -400: cannot load block (0,8000000000000000,40278934):ED46C7BCB4EF18DD435C2F17A55DE395B4F8E49E3AF6BCCF856E4050DF317D5D:51BC46484CF32A99E74B8A5FD54A589EE3FC68E452CFA5C5538FB5C38E757261 with specified transaction: not in db

Anyone know how to fix it? Does that mean all lite servers are down?

Thanks.

I just use the example code to test this feature: https://github.com/xssnick/tonutils-go/blob/master/example/account-state/main.go

leonqiu2012 commented 3 months ago

sorry, it seems it's my mistake. It's because I changed the lastLt to an invalid value.