mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-05-30 15:54:03 +02:00
[net processing] Move nTimeOffset to net_processing
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user