Skip to content

Commit 0a5a906

Browse files
committed
f test comments
1 parent 375fe23 commit 0a5a906

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lightning/src/ln/payment_tests.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2622,7 +2622,7 @@ fn test_simple_partial_retry() {
26222622
#[cfg(feature = "std")]
26232623
fn test_threaded_payment_retries() {
26242624
// In the first version of the in-`ChannelManager` payment retries, retries weren't limited to
2625-
// a single thread and would happily let multile threads run retries at the same time. Because
2625+
// a single thread and would happily let multiple threads run retries at the same time. Because
26262626
// retries are done by first calculating the amount we need to retry, then dropping the
26272627
// relevant lock, then actually sending, we would happily let multiple threads retry the same
26282628
// amount at the same time, overpaying our original HTLC!
@@ -2635,7 +2635,7 @@ fn test_threaded_payment_retries() {
26352635
// than 10% of the original value. Thus, we want all our retries to be below that. In order to
26362636
// keep things simple, we route one HTLC for 0.1% of the payment over channel 1 and the rest
26372637
// out over channel 3+4. This will let us ignore 99% of the payment value and deal with only
2638-
// out channel.
2638+
// our channel.
26392639
let chan_1_scid = create_announced_chan_between_nodes_with_value(&nodes, 0, 1, 10_000_000, 0).0.contents.short_channel_id;
26402640
create_announced_chan_between_nodes_with_value(&nodes, 1, 3, 10_000_000, 0);
26412641
let chan_3_scid = create_announced_chan_between_nodes_with_value(&nodes, 0, 2, 10_000_000, 0).0.contents.short_channel_id;
@@ -2703,7 +2703,7 @@ fn test_threaded_payment_retries() {
27032703
assert_eq!(send_msg_events.len(), 2);
27042704
send_msg_events.retain(|msg|
27052705
if let MessageSendEvent::UpdateHTLCs { node_id, .. } = msg {
2706-
// Drop the commitment update for noddes[2], we can just let that one sit pending
2706+
// Drop the commitment update for nodes[2], we can just let that one sit pending
27072707
// forever.
27082708
*node_id == nodes[1].node.get_our_node_id()
27092709
} else { panic!(); }

0 commit comments

Comments
 (0)