Skip to content

Commit

Permalink
remove the .js
Browse files Browse the repository at this point in the history
  • Loading branch information
Arrowana committed Jul 25, 2023
1 parent 491a23d commit 1269805
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ts/packages/anchor/src/coder/borsh/discriminator.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { sha256 } from "@noble/hashes/sha256.js";
import { sha256 } from "@noble/hashes/sha256";

/**
* Number of bytes in anchor discriminators
Expand Down
2 changes: 1 addition & 1 deletion ts/packages/anchor/src/coder/borsh/instruction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import {
} from "../../idl.js";
import { IdlCoder } from "./idl.js";
import { InstructionCoder } from "../index.js";
import { sha256 } from "@noble/hashes/sha256.js";
import { sha256 } from "@noble/hashes/sha256";

/**
* Namespace for global instruction function signatures (i.e. functions
Expand Down
2 changes: 1 addition & 1 deletion ts/packages/anchor/src/utils/pubkey.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Buffer } from "buffer";
import { PublicKey } from "@solana/web3.js";
import { Address, translateAddress } from "../program/common.js";
import { sha256 } from "@noble/hashes/sha256.js";
import { sha256 } from "@noble/hashes/sha256";

// Sync version of web3.PublicKey.createWithSeed.
export function createWithSeedSync(
Expand Down

0 comments on commit 1269805

Please sign in to comment.