瀏覽代碼

contract/consensus: Use less_than_strict for proposal lottery proof.

parazyd 3 年之前
父節點
當前提交
37daecf749
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/contract/consensus/proof/consensus_proposal_v1.zk

+ 1 - 1
src/contract/consensus/proof/consensus_proposal_v1.zk

@@ -148,7 +148,7 @@ circuit "ConsensusProposal_V1" {
 	constrain_instance(headstart);
 	constrain_instance(headstart);
 
 
 	# Play lottery
 	# Play lottery
-	less_than_loose(y, shifted_target);
+	less_than_strict(y, shifted_target);
 
 
 	# At this point we've enforced all of our public inputs.
 	# At this point we've enforced all of our public inputs.
 }
 }