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 1d194d3 commit 9b2b32bCopy full SHA for 9b2b32b
examples/verify_tx.rs
@@ -77,12 +77,6 @@ fn main() {
77
println!("\n\nExample two:\n");
78
let secp = Secp256k1::new();
79
80
- // Sometimes it is necessary to have additional information to get the
81
- // `bitcoin::PublicKey` from the `MiniscriptKey` which can be supplied by
82
- // the `to_pk_ctx` parameter. For example, when calculating the script
83
- // pubkey of a descriptor with xpubs, the secp context and child information
84
- // maybe required.
85
-
86
// We can set prevouts to be empty list because this is a legacy transaction
87
// and this information is not required for sighash computation.
88
let prevouts = sighash::Prevouts::All::<bitcoin::TxOut>(&[]);
0 commit comments