X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=src%2Fcli.rs;h=dc8bb407942e289ffaec47eb37b5922bfb2dd1f2;hb=0cbff7f763b02f0b2b535a723300165834cbfc56;hp=d2d5a218a3e123299aac3fecf33d1ecd17ea39a6;hpb=43092b875273841f3b19845a7bf3cb3e961d4cca;p=ldk-sample diff --git a/src/cli.rs b/src/cli.rs index d2d5a21..dc8bb40 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -406,7 +406,7 @@ fn list_channels(channel_manager: Arc) { } println!("\t\tpending_open: {},", pending_channel); println!("\t\tchannel_value_satoshis: {},", chan_info.channel_value_satoshis); - println!("\t\tchannel_can_send_payments: {},", chan_info.is_live); + println!("\t\tchannel_can_send_payments: {},", chan_info.is_usable); println!("\t}},"); } println!("]"); @@ -638,8 +638,7 @@ pub(crate) fn parse_peer_info( if peer_addr_str.is_none() || peer_addr_str.is_none() { return Err(std::io::Error::new( std::io::ErrorKind::Other, - "ERROR: incorrectly formatted peer - info. Should be formatted as: `pubkey@host:port`", + "ERROR: incorrectly formatted peer info. Should be formatted as: `pubkey@host:port`", )); }