From c13f29e98cd1092a295330832694e88d5dcf111d Mon Sep 17 00:00:00 2001 From: William Casarin Date: Sun, 10 Sep 2023 18:21:55 -0700 Subject: [PATCH] router: hash bytes for a quick sanity check probably a no-op --- damus/Util/Router.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/damus/Util/Router.swift b/damus/Util/Router.swift index b9a31aab..407f549b 100644 --- a/damus/Util/Router.swift +++ b/damus/Util/Router.swift @@ -125,10 +125,10 @@ enum Route: Hashable { switch self { case .ProfileByKey(let pubkey): hasher.combine("profilebykey") - hasher.combine(pubkey) + hasher.combine(pubkey.id.bytes) case .Profile(let profile, _): hasher.combine("profile") - hasher.combine(profile.pubkey) + hasher.combine(profile.pubkey.id.bytes) case .Followers: hasher.combine("followers") case .Relay(let relay, _):