From a9edd2e2c181040b07790736b65b80419bb447db Mon Sep 17 00:00:00 2001 From: Wietse Wind Date: Tue, 7 Dec 2021 09:47:13 +0100 Subject: [PATCH] Remove ledger range spaces (server_info, complete_ledgers) For native rippled compatibility --- src/rpc/handlers/ServerInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpc/handlers/ServerInfo.cpp b/src/rpc/handlers/ServerInfo.cpp index c46714e8e..f6fb04538 100644 --- a/src/rpc/handlers/ServerInfo.cpp +++ b/src/rpc/handlers/ServerInfo.cpp @@ -22,7 +22,7 @@ doServerInfo(Context const& context) { response["info"] = boost::json::object{}; response["info"].as_object()["complete_ledgers"] = - std::to_string(range->minSequence) + " - " + + std::to_string(range->minSequence) + "-" + std::to_string(range->maxSequence); }