Skip to content

Commit c2cce97

Browse files
committed
Merge rust-bitcoin#4953: fix: improve comment accuracy in ecdsa-psbt example
93b0831 fix: improve comment accuracy in ecdsa-psbt example (Daniel) Pull request description: Correct `scep context `to `secp context` on line 93 Fix article usage: `an watch-only` to `a watch-only` on line 153 ACKs for top commit: apoelstra: ACK 93b0831; successfully ran local tests Tree-SHA512: c696fbba314a5354ee062977f2a4d29e77f1b6e2ff1753d6288485f324f4706992a15b3299645c73a530fc1a4c8e9b6989101ef01567e3173489d527e4b3018e
2 parents 9c57966 + 93b0831 commit c2cce97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bitcoin/examples/ecdsa-psbt.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ fn main() -> Result<()> {
9090
Ok(())
9191
}
9292

93-
// We cache the pubkeys for convenience because it requires a scep context to convert the private key.
93+
// We cache the pubkeys for convenience because it requires a secp context to convert the private key.
9494
/// An example of an offline signer i.e., a cold-storage device.
9595
struct ColdStorage {
9696
/// The master extended private key.
@@ -150,7 +150,7 @@ impl ColdStorage {
150150
}
151151
}
152152

153-
/// An example of an watch-only online wallet.
153+
/// An example of a watch-only online wallet.
154154
struct WatchOnly {
155155
/// The xpub for account 0 derived from derivation path "m/84h/0h/0h".
156156
account_0_xpub: Xpub,

0 commit comments

Comments
 (0)