Skip to content

Commit

Permalink
Merge pull request #393 from JustLeif/main
Browse files Browse the repository at this point in the history
Use wrapper import for Bip32PublicKey object.
  • Loading branch information
jinglescode authored Nov 17, 2024
2 parents 2b38da9 + 35b0b7e commit aa6ee2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/mesh-core-cst/src/message-signing/check-signature.ts
Original file line number Diff line number Diff line change
@@ -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,
Expand All @@ -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(
Expand Down

0 comments on commit aa6ee2a

Please sign in to comment.