fix(server/v2/cometbft): align default response for filter cmd when handleQueryP2P (backport #23365) (#23379)

Co-authored-by: mmsqe <mavis@crypto.com>
This commit is contained in:
mergify[bot]
2025-01-14 11:17:19 +01:00
committed by GitHub
co-authored by mmsqe
parent ae5ab855b7
commit d7004ad1f3
+1
View File
@@ -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'")