diff options
author | Jon Atack <jon@atack.com> | 2022-05-24 21:16:39 +0200 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2022-06-06 12:12:03 +0200 |
commit | d40550d725fa7afd6916510164bbaa95e3ec0a5f (patch) | |
tree | 7ce1fcad8a8338f16806cb3750c3784a7c068030 /src/i2p.cpp | |
parent | 1b2e1d179c5b350cac69ee670e01355314f25e11 (diff) | |
download | bitcoin-d40550d725fa7afd6916510164bbaa95e3ec0a5f.tar.xz |
scripted-diff: remove duplicate categories from LogPrint output
-BEGIN VERIFY SCRIPT-
s() { git grep -l "$1" src | xargs sed -i "s/$1/$2/g"; }
s 'BCLog::TOR, "tor: ' 'BCLog::TOR, "'
s 'BCLog::I2P, "I2P: ' 'BCLog::I2P, "'
s 'BCLog::NET, "net: ' 'BCLog::NET, "'
s 'BCLog::ZMQ, "zmq: ' 'BCLog::ZMQ, "'
s 'BCLog::PRUNE, "Prune: ' 'BCLog::PRUNE, "'
-END VERIFY SCRIPT-
Diffstat (limited to 'src/i2p.cpp')
-rw-r--r-- | src/i2p.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i2p.cpp b/src/i2p.cpp index e08b5461fe..9b8f83caef 100644 --- a/src/i2p.cpp +++ b/src/i2p.cpp @@ -242,7 +242,7 @@ std::string Session::Reply::Get(const std::string& key) const template <typename... Args> void Session::Log(const std::string& fmt, const Args&... args) const { - LogPrint(BCLog::I2P, "I2P: %s\n", tfm::format(fmt, args...)); + LogPrint(BCLog::I2P, "%s\n", tfm::format(fmt, args...)); } Session::Reply Session::SendRequestAndGetReply(const Sock& sock, |