Skip to content

Commit 785fe01

Browse files
committed
Remove ToPublicKey bound for max_satisfaction_weight
1 parent e2e8e77 commit 785fe01

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/descriptor/mod.rs

+2
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,9 @@ impl<Pk: MiniscriptKey + ToPublicKey> Descriptor<Pk> {
447447
txin.script_sig = script_sig;
448448
Ok(())
449449
}
450+
}
450451

452+
impl<Pk: MiniscriptKey> Descriptor<Pk> {
451453
/// Computes an upper bound on the weight of a satisfying witness to the
452454
/// transaction.
453455
///

0 commit comments

Comments
 (0)