diff options
author | dergoegge <n.goeggi@gmail.com> | 2022-11-25 15:31:04 +0000 |
---|---|---|
committer | stickies-v <stickies-v@protonmail.com> | 2024-04-10 16:15:46 +0200 |
commit | 038fd979effb54ee76ce1b7cf078e920c652326a (patch) | |
tree | 6f395ed7eaf7038a7db31d00fe4939929822d9cd /src/rpc | |
parent | a175efe768892f6e983a7c814a201c506c4d1ce5 (diff) | |
download | bitcoin-038fd979effb54ee76ce1b7cf078e920c652326a.tar.xz |
[net processing] Move nTimeOffset to net_processing
Diffstat (limited to 'src/rpc')
-rw-r--r-- | src/rpc/net.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/net.cpp b/src/rpc/net.cpp index 3fa2b18495..14eae8c5df 100644 --- a/src/rpc/net.cpp +++ b/src/rpc/net.cpp @@ -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)); } |