mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
bugfixes
This commit is contained in:
parent
a73d202ba2
commit
28735ddc9e
21 changed files with 856 additions and 218 deletions
|
@ -164,7 +164,9 @@ void AdnlPeerPairImpl::receive_packet_checked(AdnlPacket packet) {
|
|||
// accepted
|
||||
// delivering
|
||||
|
||||
add_received_packet(static_cast<td::uint32>(packet.seqno()));
|
||||
if (packet.seqno() > 0) {
|
||||
add_received_packet(static_cast<td::uint32>(packet.seqno()));
|
||||
}
|
||||
|
||||
if (packet.confirm_seqno() > ack_seqno_) {
|
||||
ack_seqno_ = packet.confirm_seqno();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue