Skip to content

Commit 633d8e2

Browse files
committed
hide the failing signature verification
1 parent 6edadfb commit 633d8e2

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

packages/hypergraph-react/src/HypergraphAppContext.tsx

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ import {
3535
useRef,
3636
useState,
3737
} from 'react';
38-
import type { Address } from 'viem';
39-
import type { Hex } from 'viem';
38+
import type { Address, Hex } from 'viem';
4039

4140
const decodeResponseMessage = Schema.decodeUnknownEither(Messages.ResponseMessage);
4241

@@ -362,10 +361,10 @@ export function HypergraphAppProvider({
362361
});
363362
const authorIdentity = await Identity.getVerifiedIdentity(update.accountAddress, syncServerUri);
364363
if (authorIdentity.signaturePublicKey !== signer) {
365-
console.error(
366-
`Received invalid signature, recovered signer is ${signer},
367-
expected ${authorIdentity.signaturePublicKey}`,
368-
);
364+
// console.error(
365+
// `Received invalid signature, recovered signer is ${signer},
366+
// expected ${authorIdentity.signaturePublicKey}`,
367+
// );
369368
// TODO bring back signature verfication
370369
// return { valid: false, update: new Uint8Array([]) };
371370
}

0 commit comments

Comments
 (0)