Skip to content

Commit 2935e00

Browse files
committed
f better name
1 parent 8641aa4 commit 2935e00

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lightning/src/ln/channelmanager.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ pub(crate) enum RAAMonitorUpdateBlockingAction {
582582
/// A forwarded payment was claimed. We block the downstream channel completing its monitor
583583
/// update which removes the HTLC preimage until the upstream channel has gotten the preimage
584584
/// durably to disk.
585-
ForwardedPaymentOtherChannelClaim {
585+
ForwardedPaymentInboundClaim {
586586
/// The upstream channel ID (i.e. the inbound edge).
587587
channel_id: [u8; 32],
588588
/// The HTLC ID on the inbound edge.
@@ -593,15 +593,15 @@ pub(crate) enum RAAMonitorUpdateBlockingAction {
593593
impl RAAMonitorUpdateBlockingAction {
594594
#[allow(unused)]
595595
fn from_prev_hop_data(prev_hop: &HTLCPreviousHopData) -> Self {
596-
Self::ForwardedPaymentOtherChannelClaim {
596+
Self::ForwardedPaymentInboundClaim {
597597
channel_id: prev_hop.outpoint.to_channel_id(),
598598
htlc_id: prev_hop.htlc_id,
599599
}
600600
}
601601
}
602602

603603
impl_writeable_tlv_based_enum!(RAAMonitorUpdateBlockingAction,
604-
(0, ForwardedPaymentOtherChannelClaim) => { (0, channel_id, required), (2, htlc_id, required) }
604+
(0, ForwardedPaymentInboundClaim) => { (0, channel_id, required), (2, htlc_id, required) }
605605
;);
606606

607607

0 commit comments

Comments
 (0)