diff --git a/rai/node/rpc.cpp b/rai/node/rpc.cpp index d88ae019..8eeac7af 100644 --- a/rai/node/rpc.cpp +++ b/rai/node/rpc.cpp @@ -3729,6 +3729,11 @@ std::string filter_request (boost::property_tree::ptree tree_a) std::stringstream stream; boost::property_tree::write_json (stream, tree_a, false); result = stream.str (); + // removing std::endl + if (result.length () > 1) + { + result.pop_back (); + } return result; } }