فهرست منبع

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);
 
 	# 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.
 }