Merge pull request #10 from valentinewallace/fix-log
authorJeffrey Czyz <jkczyz@gmail.com>
Wed, 12 May 2021 18:31:20 +0000 (11:31 -0700)
committerGitHub <noreply@github.com>
Wed, 12 May 2021 18:31:20 +0000 (11:31 -0700)
Fix badly formatted log

src/cli.rs

index 9a0227ca8038319ed699726b004d06c70c906345..c0aad1562d64f89a47d6f5dca5ee8e7ccb7938cc 100644 (file)
@@ -672,8 +672,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`",
                ));
        }