diff --git a/nano/lib/utility.hpp b/nano/lib/utility.hpp index 61beefee..97d8bd3a 100644 --- a/nano/lib/utility.hpp +++ b/nano/lib/utility.hpp @@ -232,7 +232,7 @@ std::string join (InputIt first, InputIt last, std::string_view delimiter, Func } else { - ss << delimiter << " "; + ss << delimiter; } ss << transform (*first); ++first; diff --git a/nano/secure/vote.cpp b/nano/secure/vote.cpp index 208aca4d..9ffeabe0 100644 --- a/nano/secure/vote.cpp +++ b/nano/secure/vote.cpp @@ -165,7 +165,7 @@ std::string nano::vote::to_json () const std::string nano::vote::hashes_string () const { - return nano::util::join (hashes, ",", [] (auto const & hash) { + return nano::util::join (hashes, ", ", [] (auto const & hash) { return hash.to_string (); }); }