UNIX_EPOCH_TIME fixup in rpc getnettotals

This commit is contained in:
Jon Atack 2020-06-29 10:31:25 +02:00
parent 1ab49b81cf
commit d9cc13e88d
No known key found for this signature in database
GPG key ID: 4F5721B3D0E3921D

View file

@ -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"},