Skip to content

Commit a797fcc

Browse files
committed
examples: htlc: Fix doc typos
1 parent 6f54ed9 commit a797fcc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/htlc.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ fn main() {
5151
"or(and(pk(022222222222222222222222222222222222222222222222222222222222222222),sha256(1111111111111111111111111111111111111111111111111111111111111111)),and(pk(020202020202020202020202020202020202020202020202020202020202020202),older(4444)))"
5252
);
5353

54-
// Get the scriptPpubkey for this Wsh descriptor.
54+
// Get the scriptPubkey for this Wsh descriptor.
5555
assert_eq!(
5656
format!("{:x}", htlc_descriptor.script_pubkey()),
5757
"0020d853877af928a8d2a569c9c0ed14bd16f6a80ce9cccaf8a6150fd8f7f8867ae2"
@@ -63,7 +63,7 @@ fn main() {
6363
"21022222222222222222222222222222222222222222222222222222222222222222ac6476a91451814f108670aced2d77c1805ddd6634bc9d473188ad025c11b26782012088a82011111111111111111111111111111111111111111111111111111111111111118768"
6464
);
6565

66-
// Get the address for this Wsh descriptor.v
66+
// Get the address for this Wsh descriptor.
6767
assert_eq!(
6868
format!("{}", htlc_descriptor.address(Network::Bitcoin)),
6969
"bc1qmpfcw7he9z5d9ftfe8qw699azmm2sr8fen903fs4plv007yx0t3qxfmqv5"

0 commit comments

Comments
 (0)