aboutsummaryrefslogtreecommitdiffstats
path: root/src/noise_protocol.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/noise_protocol.go')
-rw-r--r--src/noise_protocol.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/noise_protocol.go b/src/noise_protocol.go
index 5fe6fb2..ea0fd52 100644
--- a/src/noise_protocol.go
+++ b/src/noise_protocol.go
@@ -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)