mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
Use set_peer_just_seen to keep last_seen updated
This commit is contained in:
parent
82dbeedd1b
commit
6bdd3a59b5
@ -1769,7 +1769,7 @@ namespace nodetool
|
||||
return true;
|
||||
}
|
||||
|
||||
m_peerlist.append_with_peer_white(pe);
|
||||
m_peerlist.set_peer_just_seen(pe.id, pe.adr);
|
||||
|
||||
LOG_PRINT_L2("PEER PROMOTED TO WHITE PEER LIST IP address: " << epee::string_tools::get_ip_string_from_int32(pe.adr.ip) << " Peer ID: " << std::hex << pe.id);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user