diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-09-02 11:29:40 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-09-02 11:29:40 +0200 |
commit | 5551fcf60b0175751f9809d29097dfc0bf5f6d48 (patch) | |
tree | 707785e5fee702502c4776e808c0cbf53dbd6295 | |
parent | Merge pull request #2316 (diff) | |
parent | p2p: init hashes after deserializing a network address (diff) | |
download | monero-5551fcf60b0175751f9809d29097dfc0bf5f6d48.tar.xz |
Merge pull request #2329
e3c4395a p2p: init hashes after deserializing a network address (moneromooo-monero)
-rw-r--r-- | src/p2p/net_peerlist_boost_serialization.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/p2p/net_peerlist_boost_serialization.h b/src/p2p/net_peerlist_boost_serialization.h index 43c5ea5f0..6ea2d48fd 100644 --- a/src/p2p/net_peerlist_boost_serialization.h +++ b/src/p2p/net_peerlist_boost_serialization.h @@ -59,6 +59,8 @@ namespace boost { a & na.m_ip; a & na.m_port; + if (!typename Archive::is_saving()) + na.init_ids(); } |