Skip to content

Commit

Permalink
Fix Field import
Browse files Browse the repository at this point in the history
  • Loading branch information
jackryanservia committed Mar 11, 2024
1 parent 24aa290 commit 19a3e99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/provable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ async function witnessAsync<
let fields = type.toFields(proverValue);
return fields.map((x) => x.toBigInt());
});
fields = fieldVars.map(Field);
fields = fieldVars.map((x) => new Field(x));
} finally {
snarkContext.leave(id);
}
Expand Down

0 comments on commit 19a3e99

Please sign in to comment.