[net processing] Move nTimeOffset to net_processing

This commit is contained in:
dergoegge
2022-11-25 15:31:04 +00:00
committed by stickies-v
parent a175efe768
commit 038fd979ef
8 changed files with 14 additions and 12 deletions

View File

@@ -239,7 +239,7 @@ static RPCHelpMan getpeerinfo()
obj.pushKV("bytessent", stats.nSendBytes);
obj.pushKV("bytesrecv", stats.nRecvBytes);
obj.pushKV("conntime", count_seconds(stats.m_connected));
obj.pushKV("timeoffset", stats.nTimeOffset);
obj.pushKV("timeoffset", statestats.time_offset);
if (stats.m_last_ping_time > 0us) {
obj.pushKV("pingtime", Ticks<SecondsDouble>(stats.m_last_ping_time));
}