Merge pull request #22 from TheBlueMatt/main
[ldk-sample] / src / cli.rs
index bfea9d25072b1ec053c70369aa7eb0c26f6ba867..b45de4221b95da49c5e9021b37f94728ded5ea57 100644 (file)
@@ -409,7 +409,7 @@ fn list_channels(channel_manager: Arc<ChannelManager>) {
                }
                println!(
                        "\t\tpeer_pubkey: {},",
-                       hex_utils::hex_str(&chan_info.remote_network_id.serialize())
+                       hex_utils::hex_str(&chan_info.counterparty.node_id.serialize())
                );
                if let Some(id) = chan_info.short_channel_id {
                        println!("\t\tshort_channel_id: {},", id);