Skip to content

Commit 12519e0

Browse files
committed
Hash can be dissatisfied
Hashes can be dissatisfied by perimages [0;32] or any other preimage
1 parent 1976ba4 commit 12519e0

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/miniscript/types/extra_props.rs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -245,11 +245,11 @@ impl Property for ExtData {
245245
has_free_verify: true,
246246
ops_count_static: 4,
247247
ops_count_sat: Some(4),
248-
ops_count_nsat: None,
248+
ops_count_nsat: Some(0),
249249
stack_elem_count_sat: Some(1),
250-
stack_elem_count_dissat: None,
250+
stack_elem_count_dissat: Some(1),
251251
max_sat_size: Some((33, 33)),
252-
max_dissat_size: None,
252+
max_dissat_size: Some((33, 33)),
253253
timelock_info: TimeLockInfo::default(),
254254
}
255255
}
@@ -260,11 +260,11 @@ impl Property for ExtData {
260260
has_free_verify: true,
261261
ops_count_static: 4,
262262
ops_count_sat: Some(4),
263-
ops_count_nsat: None,
263+
ops_count_nsat: Some(0),
264264
stack_elem_count_sat: Some(1),
265-
stack_elem_count_dissat: None,
265+
stack_elem_count_dissat: Some(1),
266266
max_sat_size: Some((33, 33)),
267-
max_dissat_size: None,
267+
max_dissat_size: Some((33, 33)),
268268
timelock_info: TimeLockInfo::default(),
269269
}
270270
}
@@ -275,11 +275,11 @@ impl Property for ExtData {
275275
has_free_verify: true,
276276
ops_count_static: 4,
277277
ops_count_sat: Some(4),
278-
ops_count_nsat: None,
278+
ops_count_nsat: Some(0),
279279
stack_elem_count_sat: Some(1),
280-
stack_elem_count_dissat: None,
280+
stack_elem_count_dissat: Some(1),
281281
max_sat_size: Some((33, 33)),
282-
max_dissat_size: None,
282+
max_dissat_size: Some((33, 33)),
283283
timelock_info: TimeLockInfo::default(),
284284
}
285285
}
@@ -290,11 +290,11 @@ impl Property for ExtData {
290290
has_free_verify: true,
291291
ops_count_static: 4,
292292
ops_count_sat: Some(4),
293-
ops_count_nsat: None,
293+
ops_count_nsat: Some(0),
294294
stack_elem_count_sat: Some(1),
295-
stack_elem_count_dissat: None,
295+
stack_elem_count_dissat: Some(1),
296296
max_sat_size: Some((33, 33)),
297-
max_dissat_size: None,
297+
max_dissat_size: Some((33, 33)),
298298
timelock_info: TimeLockInfo::default(),
299299
}
300300
}

0 commit comments

Comments
 (0)