Move replay into subpackage
This commit is contained in:
parent
0a63188afa
commit
5a2228a5c9
5 changed files with 17 additions and 16 deletions
|
|
@ -544,7 +544,7 @@ func (peer *Peer) RoutineSequentialReceiver() {
|
|||
|
||||
// check for replay
|
||||
|
||||
if !elem.keypair.replayFilter.ValidateCounter(elem.counter) {
|
||||
if !elem.keypair.replayFilter.ValidateCounter(elem.counter, RejectAfterMessages) {
|
||||
continue
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue