mirror of
https://github.com/monero-project/monero.git
synced 2024-12-23 20:19:34 +00:00
p2p: init hashes after deserializing a network address
Fixes multiple connections to the same address
This commit is contained in:
parent
4466b6d1b0
commit
e3c4395ab7
1 changed files with 2 additions and 0 deletions
|
@ -59,6 +59,8 @@ namespace boost
|
|||
{
|
||||
a & na.m_ip;
|
||||
a & na.m_port;
|
||||
if (!typename Archive::is_saving())
|
||||
na.init_ids();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue