Skip to content

Commit 93673af

Browse files
committed
f better name
1 parent 4add45f commit 93673af

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ pub(crate) enum RAAMonitorUpdateBlockingAction {
580580
/// A forwarded payment was claimed. We block the downstream channel completing its monitor
581581
/// update which removes the HTLC preimage until the upstream channel has gotten the preimage
582582
/// durably to disk.
583-
ForwardedPaymentOtherChannelClaim {
583+
ForwardedPaymentInboundClaim {
584584
/// The upstream channel ID (i.e. the inbound edge).
585585
channel_id: [u8; 32],
586586
/// The HTLC ID on the inbound edge.
@@ -591,15 +591,15 @@ pub(crate) enum RAAMonitorUpdateBlockingAction {
591591
impl RAAMonitorUpdateBlockingAction {
592592
#[allow(unused)]
593593
fn from_prev_hop_data(prev_hop: &HTLCPreviousHopData) -> Self {
594-
Self::ForwardedPaymentOtherChannelClaim {
594+
Self::ForwardedPaymentInboundClaim {
595595
channel_id: prev_hop.outpoint.to_channel_id(),
596596
htlc_id: prev_hop.htlc_id,
597597
}
598598
}
599599
}
600600

601601
impl_writeable_tlv_based_enum!(RAAMonitorUpdateBlockingAction,
602-
(0, ForwardedPaymentOtherChannelClaim) => { (0, channel_id, required), (2, htlc_id, required) }
602+
(0, ForwardedPaymentInboundClaim) => { (0, channel_id, required), (2, htlc_id, required) }
603603
;);
604604

605605

0 commit comments

Comments
 (0)