@@ -5413,7 +5413,7 @@ fn test_duplicate_payment_hash_one_failure_one_success() {
5413
5413
check_spends!(tx, commitment_txn[0]);
5414
5414
assert_eq!(tx.input.len(), 2);
5415
5415
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
5417
5417
// went to two bytes rather than one.
5418
5418
assert_eq!(tx.input[0].witness.last().unwrap().len(), ACCEPTED_HTLC_SCRIPT_WEIGHT + 1);
5419
5419
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() {
5453
5453
check_spends!(htlc_success_txn[0], commitment_txn[0]);
5454
5454
check_spends!(htlc_success_txn[1], commitment_txn[0]);
5455
5455
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.
5458
5458
assert_eq!(htlc_success_txn[0].input[0].witness.last().unwrap().len(), ACCEPTED_HTLC_SCRIPT_WEIGHT + 1);
5459
5459
assert_eq!(htlc_success_txn[1].input.len(), 1);
5460
5460
assert_eq!(htlc_success_txn[1].input[0].witness.last().unwrap().len(), ACCEPTED_HTLC_SCRIPT_WEIGHT + 1);
0 commit comments