Skip to content

Commit 67d908c

Browse files
committed
f sp
1 parent 47765e0 commit 67d908c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lightning/src/ln/functional_tests.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5413,7 +5413,7 @@ fn test_duplicate_payment_hash_one_failure_one_success() {
54135413
check_spends!(tx, commitment_txn[0]);
54145414
assert_eq!(tx.input.len(), 2);
54155415
assert_eq!(tx.output.len(), 1);
5416-
// Note that the withness script lengtsh are one longer than our constant as the CLTV value
5416+
// Note that the witness script lengths are one longer than our constant as the CLTV value
54175417
// went to two bytes rather than one.
54185418
assert_eq!(tx.input[0].witness.last().unwrap().len(), ACCEPTED_HTLC_SCRIPT_WEIGHT + 1);
54195419
assert_eq!(tx.input[1].witness.last().unwrap().len(), ACCEPTED_HTLC_SCRIPT_WEIGHT + 1);
@@ -5453,8 +5453,8 @@ fn test_duplicate_payment_hash_one_failure_one_success() {
54535453
check_spends!(htlc_success_txn[0], commitment_txn[0]);
54545454
check_spends!(htlc_success_txn[1], commitment_txn[0]);
54555455
assert_eq!(htlc_success_txn[0].input.len(), 1);
5456-
// Note that the withness script lengtsh are one longer than our constant as the CLTV value
5457-
// went to two bytes rather than one.
5456+
// Note that the witness script lengths are one longer than our constant as the CLTV value went
5457+
// to two bytes rather than one.
54585458
assert_eq!(htlc_success_txn[0].input[0].witness.last().unwrap().len(), ACCEPTED_HTLC_SCRIPT_WEIGHT + 1);
54595459
assert_eq!(htlc_success_txn[1].input.len(), 1);
54605460
assert_eq!(htlc_success_txn[1].input[0].witness.last().unwrap().len(), ACCEPTED_HTLC_SCRIPT_WEIGHT + 1);

0 commit comments

Comments
 (0)