Skip to content

Commit 1896277

Browse files
committed
Fix wasm tests
1 parent 534a234 commit 1896277

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wasm-wrappers/js-bindings/wasm_test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ export async function run_test() {
319319
assert_eq_arrays(inputs, expected_inputs);
320320

321321
try {
322-
get_token_id([], Network.Testnet);
322+
get_token_id([], BigInt(1), Network.Testnet);
323323
throw "Token Id generated without a UTXO input somehow!";
324324
} catch (e) {
325325
if (!e.includes("No UTXO input found")) {
@@ -331,7 +331,7 @@ export async function run_test() {
331331
{
332332
const expected_token_id =
333333
"tmltk13cncdptay55g9ajhrkaw0fp46r0tspq9kptul8vj2q7yvd69n4zsl24gea";
334-
const token_id = get_token_id(inputs, Network.Testnet);
334+
const token_id = get_token_id(inputs, BigInt(1), Network.Testnet);
335335
console.log(token_id);
336336

337337
if (token_id != expected_token_id) {

0 commit comments

Comments
 (0)