We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 98379d5 commit 0bff02aCopy full SHA for 0bff02a
x/pki/keeper/grpc_query_all_certificates.go
@@ -41,7 +41,7 @@ func (k Keeper) CertificatesAll(c context.Context, req *types.QueryAllCertificat
41
pageRes = &query.PageResponse{Total: 1}
42
} else {
43
store := ctx.KVStore(k.storeKey)
44
- allCertificatesStore := prefix.NewStore(store, pkitypes.KeyPrefix(types.AllCertificatesBySubjectKeyIDKeyPrefix))
+ allCertificatesStore := prefix.NewStore(store, pkitypes.KeyPrefix(types.AllCertificatesKeyPrefix))
45
46
pageRes, err = query.Paginate(allCertificatesStore, req.Pagination, func(key []byte, value []byte) error {
47
var certificates types.AllCertificates
0 commit comments