decentralised message store

fix: logging use correct variable

serenity 012427a3 068dc42c

Changed files
+1 -1
src
lib
handlers
+1 -1
src/lib/handlers/handshake.ts
···
// FIXME: this also assumes that the requesting lattice's DID is a did:web
// see above for the rest of the issues.
if (routeThroughUri.rKey === requestingLatticeDid.slice(8)) {
-
mismatchReason = `route through record domain did not match with requesting service. the requesting service's domain is ${SERVICE_DID.slice(8)}, the domain on the record is ${storeAtUri.rKey ?? ""}`;
+
mismatchReason = `route through record domain did not match with requesting service. the requesting service's domain is ${requestingLatticeDid.slice(8)}, the domain on the record is ${routeThroughUri.rKey ?? ""}`;
mismatchOrIncorrect = true;
return;
}