Skip to content

Commit f15cc8c

Browse files
committed
f comment in test
1 parent 4f84130 commit f15cc8c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lightning/src/ln/priv_short_conf_tests.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,9 @@ fn test_inbound_scid_alias() {
454454

455455
#[test]
456456
fn test_scid_alias_returned() {
457+
// Tests that when we fail an HTLC (in this case due to attempting to forward more than the
458+
// channel's available balance) we use the correct (in this case the aliased) SCID in the
459+
// channel_update which is returned in the onion to the sender.
457460
let chanmon_cfgs = create_chanmon_cfgs(3);
458461
let node_cfgs = create_node_cfgs(3, &chanmon_cfgs);
459462
let mut accept_forward_cfg = test_default_channel_config();

0 commit comments

Comments
 (0)