Improve NoteCommit input value gate doc

Brings it in line with the other gate docs.

Co-authored-by: ying tong <yingtong@z.cash>
This commit is contained in:
str4d 2021-08-19 14:35:56 +01:00 committed by GitHub
parent bac22d9b19
commit f2400baa01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -327,7 +327,9 @@ impl NoteCommitConfig {
.map(move |(name, poly)| (name, q_notecommit_pk_d.clone() * poly))
});
// | value | d_2 | d_3 | e_0 |
// | A_6 | A_7 | A_8 | A_9 | q_notecommit_value |
// ------------------------------------------------
// | value | d_2 | d_3 | e_0 | 1 |
meta.create_gate("NoteCommit input value", |meta| {
let q_notecommit_value = meta.query_selector(config.q_notecommit_value);