We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 230cab9 commit 54f2384Copy full SHA for 54f2384
src/policy/semantic.rs
@@ -188,7 +188,7 @@ impl<Pk: MiniscriptKey> Policy<Pk> {
188
// Witness is currently encoded as policy. Only accepts leaf fragment and
189
// a normalized policy
190
fn satisfy_constraint(self, witness: &Policy<Pk>, available: bool) -> Policy<Pk> {
191
- debug_assert!(self.clone().normalized() == self.clone());
+ debug_assert!(self.clone().normalized() == self);
192
match *witness {
193
// only for internal purposes, safe to use unreachable!
194
Policy::Threshold(..) => unreachable!(),
0 commit comments