From 0e55f81adc84fcf1ad9f31125235fc694fb3fa4e Mon Sep 17 00:00:00 2001 From: Valentine Wallace Date: Wed, 12 May 2021 13:23:06 -0400 Subject: [PATCH] Indicate whether chan is public in listchannels --- src/cli.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cli.rs b/src/cli.rs index c8c14f2..7e957e2 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -443,6 +443,7 @@ fn list_channels(channel_manager: Arc) { println!("\t\tavailable_balance_for_recv_msat: {},", chan_info.inbound_capacity_msat); } println!("\t\tchannel_can_send_payments: {},", chan_info.is_usable); + println!("\t\tpublic: {},", chan_info.is_public); println!("\t}},"); } println!("]"); -- 2.39.5