We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e410e9d commit 71842b5Copy full SHA for 71842b5
protocol/localtxmonitor/server.go
@@ -185,7 +185,7 @@ func (s *Server) handleNextTx() error {
185
"role", "server",
186
"connection_id", s.callbackContext.ConnectionId.String(),
187
)
188
- if s.mempoolNextTxIdx > len(s.mempoolTxs) {
+ if s.mempoolNextTxIdx >= len(s.mempoolTxs) {
189
newMsg := NewMsgReplyNextTx(0, nil)
190
if err := s.SendMessage(newMsg); err != nil {
191
return err
0 commit comments