0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-25 15:04:10 +01:00

ircd:Ⓜ️:gossip: Fix attempt hash; msb on remote.

This commit is contained in:
Jason Volk 2020-12-28 19:39:30 -08:00
parent 619430d07c
commit 3e2e876ebe

View file

@ -130,8 +130,8 @@ ircd::m::gossip::submit(const m::event::id &event_id,
{
const auto hash
{
(uint128_t(ircd::hash(remote)) << 64) |
(uint128_t(ircd::hash(event_id)) >> 64)
(uint128_t(ircd::hash(event_id)))
| (uint128_t(ircd::hash(remote)) << 64)
};
auto it