diff --git a/src/jose/algorithms/signing/ed25519.ts b/src/jose/algorithms/signing/ed25519.ts index cef069f3b..ea08e48dc 100644 --- a/src/jose/algorithms/signing/ed25519.ts +++ b/src/jose/algorithms/signing/ed25519.ts @@ -2,7 +2,7 @@ import * as Ed25519 from '@noble/ed25519'; import type { PrivateJwk, PublicJwk, SignatureAlgorithm } from '../../../types/jose-types.js'; import { Encoder } from '../../../utils/encoder.js'; -import { DwnError, DwnErrorCode } from '../../../index.js'; +import { DwnError, DwnErrorCode } from '../../../core/dwn-error.js'; function validateKey(jwk: PrivateJwk | PublicJwk): void { if (jwk.kty !== 'OKP' || jwk.crv !== 'Ed25519') {