Fixed UAPI deadlock

This commit is contained in:
Mathias Hall-Andersen
2017-07-21 15:17:43 +02:00
parent 086d32186a
commit 2a6dd2ed92
2 changed files with 4 additions and 9 deletions

View File

@@ -253,8 +253,6 @@ func (device *Device) ConsumeMessageInitiation(msg *MessageInitiation) *Peer {
}
hash = mixHash(hash, msg.Timestamp[:])
// TODO: check for flood attack
// check for replay attack
return timestamp.After(handshake.lastTimestamp)