From: Valentine Wallace Date: Wed, 12 May 2021 17:23:06 +0000 (-0400) Subject: Indicate whether chan is public in listchannels X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=0e55f81adc84fcf1ad9f31125235fc694fb3fa4e;p=ldk-sample Indicate whether chan is public in listchannels --- 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!("]");