mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-29 18:53:14 +00:00
daemon: fix merge error removing the "never seen before" timestamp check
This commit is contained in:
parent
c9df9d683a
commit
5a4c6cc3a8
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ namespace {
|
|||
time(&now);
|
||||
time_t last_seen = static_cast<time_t>(peer.last_seen);
|
||||
|
||||
std::string elapsed = epee::misc_utils::get_time_interval_string(now - last_seen);
|
||||
std::string elapsed = peer.last_seen == 0 ? "never" : epee::misc_utils::get_time_interval_string(now - last_seen);
|
||||
std::string id_str = epee::string_tools::pad_string(epee::string_tools::to_string_hex(peer.id), 16, '0', true);
|
||||
std::string port_str;
|
||||
epee::string_tools::xtype_to_string(peer.port, port_str);
|
||||
|
|
Loading…
Reference in a new issue