X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=src%2Fcli.rs;h=b45de4221b95da49c5e9021b37f94728ded5ea57;hb=90c12f0f24689326ae09637a9ad620f781d97e5c;hp=bfea9d25072b1ec053c70369aa7eb0c26f6ba867;hpb=93d3b7942b2a0a4990e5a93fda262f9edb671364;p=ldk-sample diff --git a/src/cli.rs b/src/cli.rs index bfea9d2..b45de42 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -409,7 +409,7 @@ fn list_channels(channel_manager: Arc) { } 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);