Skip to content

Commit

Permalink
fix: updated consent proof text
Browse files Browse the repository at this point in the history
Updated consent proof text to be more human readable
  • Loading branch information
Alex Risch authored and Alex Risch committed May 4, 2024
1 parent 56d3cee commit 9096006
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/crypto/Signature.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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/'
Expand Down

0 comments on commit 9096006

Please sign in to comment.