Merge pull request #11 from valentinewallace/expose-channel-publicness
authorJeffrey Czyz <jkczyz@gmail.com>
Wed, 12 May 2021 18:35:26 +0000 (11:35 -0700)
committerGitHub <noreply@github.com>
Wed, 12 May 2021 18:35:26 +0000 (11:35 -0700)
Indicate whether a channel is public in `listchannels`

src/cli.rs

index 2ea727111d32faebef71bf0d4932bd4f85d34d02..36b97047cb36ca26055b15809ceaabaf61a1b7d7 100644 (file)
@@ -675,8 +675,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`",
                ));
        }