Skip to content

Commit

Permalink
fix(server/v2): align default response for filter cmd when handleQuer…
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsqe authored Jan 14, 2025
1 parent b461a31 commit 1525f29
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 1525f29

Please sign in to comment.