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

This commit is contained in:
mmsqe
2025-01-14 10:00:33 +00:00
committed by GitHub
parent 5581225a9b
commit 76e75bb4ed
+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'")