Skip to content

Commit f4cb4fe

Browse files
committed
f drop spurious todo that is now redundant
1 parent 1a7afc6 commit f4cb4fe

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lightning/src/ln/onion_utils.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -672,8 +672,6 @@ impl HTLCFailReason {
672672
// failures here, but that would be insufficient as find_route
673673
// generally ignores its view of our own channels as we provide them via
674674
// ChannelDetails.
675-
// TODO: For non-temporary failures, we really should be closing the
676-
// channel here as we apparently can't relay through them anyway.
677675
if let &HTLCSource::OutboundRoute { ref path, .. } = htlc_source {
678676
(None, Some(path.first().unwrap().short_channel_id), true, Some(*failure_code), Some(data.clone()))
679677
} else { unreachable!(); }

0 commit comments

Comments
 (0)