Skip to content

Commit

Permalink
Fixed broken unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Artemkaaas committed Nov 18, 2024
1 parent 98379d5 commit 0bff02a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/pki/keeper/grpc_query_all_certificates.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func (k Keeper) CertificatesAll(c context.Context, req *types.QueryAllCertificat
pageRes = &query.PageResponse{Total: 1}
} else {
store := ctx.KVStore(k.storeKey)
allCertificatesStore := prefix.NewStore(store, pkitypes.KeyPrefix(types.AllCertificatesBySubjectKeyIDKeyPrefix))
allCertificatesStore := prefix.NewStore(store, pkitypes.KeyPrefix(types.AllCertificatesKeyPrefix))

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

0 comments on commit 0bff02a

Please sign in to comment.