Skip to content

Commit 0bff02a

Browse files
committed
Fixed broken unit tests
1 parent 98379d5 commit 0bff02a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x/pki/keeper/grpc_query_all_certificates.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ func (k Keeper) CertificatesAll(c context.Context, req *types.QueryAllCertificat
4141
pageRes = &query.PageResponse{Total: 1}
4242
} else {
4343
store := ctx.KVStore(k.storeKey)
44-
allCertificatesStore := prefix.NewStore(store, pkitypes.KeyPrefix(types.AllCertificatesBySubjectKeyIDKeyPrefix))
44+
allCertificatesStore := prefix.NewStore(store, pkitypes.KeyPrefix(types.AllCertificatesKeyPrefix))
4545

4646
pageRes, err = query.Paginate(allCertificatesStore, req.Pagination, func(key []byte, value []byte) error {
4747
var certificates types.AllCertificates

0 commit comments

Comments
 (0)