Skip to content

Commit 1a38c90

Browse files
committed
f Account for maybe_announced_channel renaming
1 parent 548d98f commit 1a38c90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3545,7 +3545,7 @@ where
35453545
// provided, we refrain from probing all the way through to the end and instead probe
35463546
// up to the second-to-last channel.
35473547
if let Some(last_path_hop) = path.hops.last() {
3548-
if !last_path_hop.announced {
3548+
if !last_path_hop.maybe_announced_channel {
35493549
if let Payee::Clear { node_id, ref route_hints, .. } = route_params.payment_params.payee {
35503550
if route_hints.len() == 1 {
35513551
if let Some(hint) = route_hints[0].0.iter().last() {

0 commit comments

Comments
 (0)