Skip to content

Commit

Permalink
fix(server/v2/cometbft): align default response for filter cmd when h…
Browse files Browse the repository at this point in the history
…andleQueryP2P (#23365)
  • Loading branch information
mmsqe authored Jan 14, 2025
1 parent 5581225 commit 76e75bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/v2/cometbft/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ func (c *consensus[T]) handleQueryP2P(path []string) (*abci.QueryResponse, error
return c.idPeerFilter(arg)
}
}
return &abci.QueryResponse{}, nil
}

return nil, errorsmod.Wrap(cometerrors.ErrUnknownRequest, "expected second parameter to be 'filter'")
Expand Down

0 comments on commit 76e75bb

Please sign in to comment.