mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-22 23:42:24 +00:00
Merge pull request #5830
5a4c6cc
daemon: fix merge error removing the 'never seen before' timestamp check (moneromooo-monero)
This commit is contained in:
commit
da4512639e
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