toncenter / tonweb

JavaScript SDK for TON (The Open Network)
MIT License
432 stars 107 forks source link

Infinite timeout for the initial message #107

Open oleganza opened 1 year ago

oleganza commented 1 year ago

Current implementation treats seqno=0 message as a special one and specifies a maximum timeout (effectively, infinite). This might be unsafe and there is no clear reason why this should be done.

I suggest we remove this special case. There is no such treatment in ton-core.

image