diff --git a/session.go b/session.go index 7bcd3a112..7f26e5b56 100644 --- a/session.go +++ b/session.go @@ -202,7 +202,7 @@ func (s *session) sendLogonInReplyTo(setResetSeqNum bool, inReplyTo *Message) er } else { // We are sending a logon. nextseqnum := s.store.NextTargetMsgSeqNum() - logon.Body.SetField(tagNextExpectedMsgSeqNum, FIXInt(nextseqnum+1)) + logon.Body.SetField(tagNextExpectedMsgSeqNum, FIXInt(nextseqnum)) } }