aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
diff options
context:
space:
mode:
Diffstat (limited to 'src/rpc')
-rw-r--r--src/rpc/core_rpc_server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp
index 1ce7c2b89..63f2b7e53 100644
--- a/src/rpc/core_rpc_server.cpp
+++ b/src/rpc/core_rpc_server.cpp
@@ -204,7 +204,7 @@ namespace cryptonote
}
catch (...)
{
- res.status = "Error retrieving block at height " + height;
+ res.status = "Error retrieving block at height " + std::to_string(height);
return true;
}
std::list<transaction> txs;