File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
test/sanitizer_suppressions Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1746,8 +1746,8 @@ void PeerManagerImpl::RelayAddress(NodeId originator,
17461746 // Relay to a limited number of other nodes
17471747 // Use deterministic randomness to send to the same nodes for 24 hours
17481748 // at a time so the m_addr_knowns of the chosen nodes prevent repeats
1749- uint64_t hashAddr = addr.GetHash ();
1750- const CSipHasher hasher = m_connman.GetDeterministicRandomizer (RANDOMIZER_ID_ADDRESS_RELAY).Write (hashAddr << 32 ).Write ((GetTime () + hashAddr) / (24 * 60 * 60 ));
1749+ const uint64_t hashAddr{ addr.GetHash ()} ;
1750+ const CSipHasher hasher{ m_connman.GetDeterministicRandomizer (RANDOMIZER_ID_ADDRESS_RELAY).Write (hashAddr).Write ((GetTime () + hashAddr) / (24 * 60 * 60 ))} ;
17511751 FastRandomContext insecure_rand;
17521752
17531753 // Relay reachable addresses to 2 peers. Unreachable addresses are relayed randomly to 1 or 2 peers.
Original file line number Diff line number Diff line change @@ -105,6 +105,5 @@ implicit-unsigned-integer-truncation:crypto/
105105shift-base:arith_uint256.cpp
106106shift-base:crypto/
107107shift-base:hash.cpp
108- shift-base:net_processing.cpp
109108shift-base:streams.h
110109shift-base:util/bip32.cpp
You can’t perform that action at this time.
0 commit comments