Skip to content

Commit

Permalink
fix: keccak256 import error
Browse files Browse the repository at this point in the history
  • Loading branch information
0xExp-po committed Dec 17, 2024
1 parent cd168ea commit 567954a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dapp/src/service/WriteContractService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ import { loadedPublicKey } from "./walletService";
import Versioning from "../contracts/soroban_versioning";

import { loadedProjectId } from "./StateService";
import { keccak256 } from "js-sha3";
import * as pkg from "js-sha3";
const { keccak256 } = pkg;
import * as SDK from "@stellar/stellar-sdk";
import type { Vote } from "soroban_versioning";
import type { VoteType } from "types/proposal";
import type { Response } from "types/response";
Expand Down

0 comments on commit 567954a

Please sign in to comment.