Skip to content

Commit f633e1e

Browse files
f - rename fail_pending_forwards to forwarding_channel_not_found
1 parent 48a15b2 commit f633e1e

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
@@ -3080,7 +3080,7 @@ impl<M: Deref, T: Deref, K: Deref, F: Deref, L: Deref> ChannelManager<M, T, K, F
30803080
let mut channel_state_lock = self.channel_state.lock().unwrap();
30813081
let channel_state = &mut *channel_state_lock;
30823082
if short_chan_id != 0 {
3083-
macro_rules! fail_pending_forwards {
3083+
macro_rules! forwarding_channel_not_found {
30843084
() => {
30853085
for forward_info in pending_forwards.drain(..) {
30863086
match forward_info {
@@ -3173,7 +3173,7 @@ impl<M: Deref, T: Deref, K: Deref, F: Deref, L: Deref> ChannelManager<M, T, K, F
31733173
let forward_chan_id = match self.short_to_chan_info.read().unwrap().get(&short_chan_id) {
31743174
Some((_cp_id, chan_id)) => chan_id.clone(),
31753175
None => {
3176-
fail_pending_forwards!();
3176+
forwarding_channel_not_found!();
31773177
continue;
31783178
}
31793179
};
@@ -3303,7 +3303,7 @@ impl<M: Deref, T: Deref, K: Deref, F: Deref, L: Deref> ChannelManager<M, T, K, F
33033303
});
33043304
}
33053305
} else {
3306-
fail_pending_forwards!();
3306+
forwarding_channel_not_found!();
33073307
continue;
33083308
}
33093309
} else {

0 commit comments

Comments
 (0)