From 35b0b7eec5497e2825f87c8e612975248ec9c845 Mon Sep 17 00:00:00 2001 From: leif Date: Sun, 17 Nov 2024 20:16:43 +0800 Subject: [PATCH] use wrapper import for Bip32PublicKey object. --- packages/mesh-core-cst/src/message-signing/check-signature.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/mesh-core-cst/src/message-signing/check-signature.ts b/packages/mesh-core-cst/src/message-signing/check-signature.ts index bfb58bd57..3f4a3c267 100644 --- a/packages/mesh-core-cst/src/message-signing/check-signature.ts +++ b/packages/mesh-core-cst/src/message-signing/check-signature.ts @@ -1,8 +1,8 @@ import { Credential } from "@cardano-sdk/core/dist/cjs/Cardano"; -import { Bip32PublicKey } from "@stricahq/bip32ed25519"; import { DataSignature } from "@meshsdk/common"; +import { StricaBip32PublicKey } from "../stricahq"; import { Address, BaseAddress, @@ -26,7 +26,7 @@ export const checkSignature = ( if (address) { let network = NetworkId.Mainnet; const paymentAddress = BaseAddress.fromAddress(Address.fromBech32(address)); - const coseSign1PublicKey = new Bip32PublicKey(publicKeyBuffer); + const coseSign1PublicKey = new StricaBip32PublicKey(publicKeyBuffer); const credential: Credential = { hash: Hash28ByteBase16.fromEd25519KeyHashHex(