Skip to content

Commit 1d3f5fc

Browse files
committed
f is_usable instead of is_live
1 parent 45447b6 commit 1d3f5fc

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
@@ -1966,7 +1966,7 @@ impl<Signer: Sign, M: Deref, T: Deref, K: Deref, F: Deref, L: Deref> ChannelMana
19661966
// `have_received_message` indicates that type negotiation has completed.
19671967
channel_type: if channel.have_received_message() { Some(channel.get_channel_type().clone()) } else { None },
19681968
short_channel_id: channel.get_short_channel_id(),
1969-
outbound_scid_alias: if channel.is_live() { Some(channel.outbound_scid_alias()) } else { None },
1969+
outbound_scid_alias: if channel.is_usable() { Some(channel.outbound_scid_alias()) } else { None },
19701970
inbound_scid_alias: channel.latest_inbound_scid_alias(),
19711971
channel_value_satoshis: channel.get_value_satoshis(),
19721972
unspendable_punishment_reserve: to_self_reserve_satoshis,

0 commit comments

Comments
 (0)