]> git.bitcoin.ninja Git - ldk-sample/commitdiff
Fix badly formatted log
authorValentine Wallace <vwallace@protonmail.com>
Wed, 12 May 2021 16:36:40 +0000 (12:36 -0400)
committerValentine Wallace <vwallace@protonmail.com>
Wed, 12 May 2021 16:36:40 +0000 (12:36 -0400)
Otherwise there's random \t\t's in the log

src/cli.rs

index 34987a8bc4f3e32ad10182fe89923dde627527f9..dc8bb407942e289ffaec47eb37b5922bfb2dd1f2 100644 (file)
@@ -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`",
                ));
        }