decentralised sync engine

fix: compare correctly

serenity 186f4ed3 06c8ae55

Changed files
+1 -1
src
lib
+1 -1
src/lib/handlers/latticeHandshake.ts
···
// FIXME: this also assumes that the requesting lattice's DID is a did:web
// see below for the rest of the issues.
-
if (routeThroughUri.rKey === SERVICE_DID.slice(8)) {
+
if (routeThroughUri.rKey !== SERVICE_DID.slice(8)) {
errors.push(
"Mismatch between claimant lattice and channel routeThrough. Request wants to validate for",
routeThroughUri.rKey,