Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/poseidon_wasm.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export async function buildPoseidon() {
} else {
buff = arr;
n = buff.byteLength / 32;
if (n*32 != buff.byteLength) throw new Error("Invalid iput buff size");
if (n*32 != buff.byteLength) throw new Error("Invalid input buff size");
}
bn128.tm.setBuff(pIn, buff);

Expand Down
2 changes: 1 addition & 1 deletion test/mimc7contract.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ describe("MiMC Smart contract test", function () {

});

it("Shold calculate the mimc correctly", async () => {
it("Should calculate the mimc correctly", async () => {

const res = await mimc["MiMCpe7"](1,2);

Expand Down