From 04f9d9fbbe8933fd2c90058fe9d37263322ed3f4 Mon Sep 17 00:00:00 2001 From: mxaddict Date: Tue, 13 Feb 2024 09:59:11 +0800 Subject: [PATCH] replaced std::endl with \n --- src/common/run_command.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/run_command.cpp b/src/common/run_command.cpp index 6ad9f75b5d99fa..e6276d94097ce0 100644 --- a/src/common/run_command.cpp +++ b/src/common/run_command.cpp @@ -43,7 +43,7 @@ UniValue RunCommandParseJSON(const std::string& str_command, const std::string& bp::std_in < stdin_stream ); if (!str_std_in.empty()) { - stdin_stream << str_std_in << std::endl; + stdin_stream << str_std_in << "\n"; } stdin_stream.pipe().close();