aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/net.cpp
diff options
context:
space:
mode:
authorJon Atack <jon@atack.com>2020-06-29 10:31:25 +0200
committerJon Atack <jon@atack.com>2020-08-24 18:41:22 +0200
commitd9cc13e88d096c1a171159c01cbb96444f7f8d7f (patch)
tree4375a558b4e6efda79c79e4378a6240b91d8acba /src/rpc/net.cpp
parent1ab49b81cf32b6ef9e312a0a8ac45c68a3262f0d (diff)
downloadbitcoin-d9cc13e88d096c1a171159c01cbb96444f7f8d7f.tar.xz
UNIX_EPOCH_TIME fixup in rpc getnettotals
Diffstat (limited to 'src/rpc/net.cpp')
-rw-r--r--src/rpc/net.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/net.cpp b/src/rpc/net.cpp
index e4fe021c3f..f7722533d4 100644
--- a/src/rpc/net.cpp
+++ b/src/rpc/net.cpp
@@ -414,7 +414,7 @@ static UniValue getnettotals(const JSONRPCRequest& request)
{
{RPCResult::Type::NUM, "totalbytesrecv", "Total bytes received"},
{RPCResult::Type::NUM, "totalbytessent", "Total bytes sent"},
- {RPCResult::Type::NUM_TIME, "timemillis", "Current UNIX time in milliseconds"},
+ {RPCResult::Type::NUM_TIME, "timemillis", "Current " + UNIX_EPOCH_TIME + " in milliseconds"},
{RPCResult::Type::OBJ, "uploadtarget", "",
{
{RPCResult::Type::NUM, "timeframe", "Length of the measuring timeframe in seconds"},