Explorar o código

add comment to dao-vote-main

narodnik %!s(int64=4) %!d(string=hai) anos
pai
achega
61a877479d
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      bin/daod/proof/dao-vote-main.zk

+ 2 - 0
bin/daod/proof/dao-vote-main.zk

@@ -25,6 +25,8 @@ circuit "DaoVoteMain" {
 	constrain_instance(token_commit);
 
 	# Pedersen commitment for vote option
+    # vote_option * total_value
+
 	vco = ec_mul_short(vote_option, VOTE_COMMIT_OPTION);
 	vcr = ec_mul(vote_option_blind, VOTE_COMMIT_RANDOM);
 	total_vote_commit = ec_add(vco, vcr);