mirror of
https://github.com/PeernetOfficial/core.git
synced 2026-07-22 04:37:50 +01:00
Implement SEQUENCE_LAST flag
This commit is contained in:
@@ -174,6 +174,10 @@ func packetWorker(packets <-chan networkWire) {
|
||||
|
||||
case CommandResponse: // Response
|
||||
if response, _ := msgDecodeResponse(raw); response != nil {
|
||||
if (response.Actions & (1 << ActionSequenceLast)) > 0 {
|
||||
msgInvalidateSequence(raw)
|
||||
}
|
||||
|
||||
peer.cmdResponse(response)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user