Skip to content

Commit

Permalink
Fix name typo (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
xqft authored Sep 25, 2023
1 parent b233f94 commit b2f955a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions evm_bridge/src/verifier/batch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ export class Batch extends Verifier {
let lgr_comm = verifier_index.srs.lagrangeBases.get(verifier_index.domain_size)!;
let com = lgr_comm?.slice(0, verifier_index.public);
let elm = public_input.map(s => s.neg());
let public_comm = PolyComm.msm(com, elm);
let f_comm = verifier_index
let non_hiding_public_comm = PolyComm.msm(com, elm);
let public_comm = verifier_index
.srs
.maskCustom(public_comm,
.maskCustom(non_hiding_public_comm,
new PolyComm([Scalar.from(1)], undefined))?.commitment;
return f_comm;
return public_comm;
/*
Check the length of evaluations inside the proof.
Commit to the negated public input polynomial.
Expand Down

0 comments on commit b2f955a

Please sign in to comment.