damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit c13f29e98cd1092a295330832694e88d5dcf111d
parent 5b901656f3db4762aa1021250fa0b0dfdfd3963f
Author: William Casarin <jb55@jb55.com>
Date:   Sun, 10 Sep 2023 18:21:55 -0700

router: hash bytes for a quick sanity check

probably a no-op

Diffstat:
Mdamus/Util/Router.swift | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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, _):