]> git.bitcoin.ninja Git - ldk-sample/commitdiff
Indicate whether chan is public in listchannels
authorValentine Wallace <vwallace@protonmail.com>
Wed, 12 May 2021 17:23:06 +0000 (13:23 -0400)
committerValentine Wallace <vwallace@protonmail.com>
Wed, 12 May 2021 17:23:06 +0000 (13:23 -0400)
src/cli.rs

index c8c14f2f6c007016bca07f63aaf77eeb0cec1ab1..7e957e27783ee903dd8e572e7d0df3fef2134d9e 100644 (file)
@@ -443,6 +443,7 @@ fn list_channels(channel_manager: Arc<ChannelManager>) {
                        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!("]");