Skip to content

Commit c0076e6

Browse files
committed
Merge #397: Remove stale comment
9b2b32b Remove stale comment (Tobin C. Harding) Pull request description: This comment is stale, we no longer have `to_pk_ctx` in the codebase. Top commit has no ACKs. Tree-SHA512: 7a741ad253feb9e832788ee0af4119e6b301110d968548ebdd89ea254f005df83b19c99c237b816af4134fb4bf1b80229c77656b7867cbfbada7818a8b3708bd
2 parents 9ab6d4d + 9b2b32b commit c0076e6

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)