File tree 1 file changed +2
-2
lines changed
nightfall-deployer/contracts
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ library ChallengesUtil {
82
82
transaction.commitments[1 ] != ZERO ||
83
83
transaction.nullifiers[0 ] != ZERO ||
84
84
transaction.nullifiers[1 ] != ZERO ||
85
- transaction.compressedSecrets. length != nZeroCompressedSecrets ||
85
+ nZeroCompressedSecrets != 8 ||
86
86
nZeroProof == 4 || // We assume that 3 out of the 4 proof elements can be a valid ZERO. Deals with exception cases
87
87
transaction.historicRootBlockNumberL2[0 ] != 0 ||
88
88
transaction.historicRootBlockNumberL2[1 ] != 0 ,
@@ -168,7 +168,7 @@ library ChallengesUtil {
168
168
transaction.commitments[1 ] != ZERO ||
169
169
transaction.nullifiers[0 ] == ZERO ||
170
170
transaction.nullifiers[1 ] != ZERO ||
171
- transaction.compressedSecrets. length != nZeroCompressedSecrets ||
171
+ nZeroCompressedSecrets != 8 ||
172
172
nZeroProof == 4 || // We assume that 3 out of the 4 proof elements can be a valid ZERO. Deals with exception cases
173
173
transaction.historicRootBlockNumberL2[1 ] != 0 , // A withdraw has a similar constraint as a single transfer
174
174
'This withdraw transaction type is valid '
You can’t perform that action at this time.
0 commit comments