From 90960062f82eeb003900803bcfa8d962b55f1865 Mon Sep 17 00:00:00 2001 From: Alex Risch Date: Sat, 4 May 2024 15:54:44 -0600 Subject: [PATCH] fix: updated consent proof text Updated consent proof text to be more human readable --- src/crypto/Signature.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/crypto/Signature.ts b/src/crypto/Signature.ts index ee21454f..0e9c07ab 100644 --- a/src/crypto/Signature.ts +++ b/src/crypto/Signature.ts @@ -161,12 +161,12 @@ export class WalletSigner implements KeySigner { static consentProofRequestText( peerAddress: string, - timestamp: number + timestampMs: number ): string { return ( 'XMTP : Grant inbox consent to sender\n' + '\n' + - `Current Time: ${timestamp}\n` + + `Current Time: ${new Date(timestampMs).toUTCString()}\n` + `From Address: ${peerAddress}\n` + '\n' + 'For more info: https://xmtp.org/signatures/'