Skip to content

Commit

Permalink
Linter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ackleymi committed Sep 10, 2024
1 parent fad0176 commit f1f8c0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions session.go
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ func (s *session) handleLogon(msg *Message) error {

// Verify seq num too high but dont check against app implementation since we just did that.
// Don't need to double check.
if err := s.verifySelect(msg, false, true, false); err != nil {
if err := s.verifyIgnoreSeqNumTooHigh(msg); err != nil {
return err
}

Expand Down Expand Up @@ -597,7 +597,7 @@ func (s *session) verify(msg *Message) MessageRejectError {
}

func (s *session) verifyIgnoreSeqNumTooHigh(msg *Message) MessageRejectError {
return s.verifySelect(msg, false, true, true)
return s.verifySelect(msg, false, true, false)
}

func (s *session) verifyIgnoreSeqNumTooHighOrLow(msg *Message) MessageRejectError {
Expand Down

0 comments on commit f1f8c0e

Please sign in to comment.