Skip to content

Commit 9b2b32b

Browse files
committed
Remove stale comment
This comment is stale, we no longer have `to_pk_ctx` in the codebase.
1 parent 1d194d3 commit 9b2b32b

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

examples/verify_tx.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,6 @@ fn main() {
7777
println!("\n\nExample two:\n");
7878
let secp = Secp256k1::new();
7979

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-
8680
// We can set prevouts to be empty list because this is a legacy transaction
8781
// and this information is not required for sighash computation.
8882
let prevouts = sighash::Prevouts::All::<bitcoin::TxOut>(&[]);

0 commit comments

Comments
 (0)