From 3e2e876ebe49d7747097d7ede5cec41212fab83e Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Mon, 28 Dec 2020 19:39:30 -0800 Subject: [PATCH] ircd::m::gossip: Fix attempt hash; msb on remote. --- matrix/gossip.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/matrix/gossip.cc b/matrix/gossip.cc index a203ca6f6..b4f093e4f 100644 --- a/matrix/gossip.cc +++ b/matrix/gossip.cc @@ -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