Skip to content

Commit 9c2e22c

Browse files
committed
f is_usable instead of is_live
1 parent 15138e4 commit 9c2e22c

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
@@ -1729,7 +1729,7 @@ impl<Signer: Sign, M: Deref, T: Deref, K: Deref, F: Deref, L: Deref> ChannelMana
17291729
// `have_received_message` indicates that type negotiation has completed.
17301730
channel_type: if channel.have_received_message() { Some(channel.get_channel_type().clone()) } else { None },
17311731
short_channel_id: channel.get_short_channel_id(),
1732-
outbound_scid_alias: if channel.is_live() { Some(channel.outbound_scid_alias()) } else { None },
1732+
outbound_scid_alias: if channel.is_usable() { Some(channel.outbound_scid_alias()) } else { None },
17331733
inbound_scid_alias: channel.latest_inbound_scid_alias(),
17341734
channel_value_satoshis: channel.get_value_satoshis(),
17351735
unspendable_punishment_reserve: to_self_reserve_satoshis,

0 commit comments

Comments
 (0)