Skip to content

Commit 4fa2d4e

Browse files
committed
Add comment about matched var.
1 parent 631ac7b commit 4fa2d4e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/ProofSet.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,10 @@ async function _matchProofSet({
320320
continue;
321321
}
322322

323-
// next, find the suite that can verify the proof
323+
// next, find the suite that can verify the proof; if found, `matched`
324+
// will be set to `true` and the proof will be added to `purposeToProofs`
325+
// and `proofToSuite` to be processed -- otherwise it will not be; if
326+
// no proofs are added for a given purpose, an exception will be thrown
324327
let matched = false;
325328
for(const s of suites) {
326329
// `matchingProofs` is a map of promises that resolve to whether a

0 commit comments

Comments
 (0)