Skip to content

Commit

Permalink
feat: verify consent proof signature
Browse files Browse the repository at this point in the history
Verified consent proofs
Added tests for consent proofs
  • Loading branch information
Alex Risch authored and Alex Risch committed Apr 24, 2024
1 parent 22ce2f8 commit 7cfb79d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/conversations/Conversations.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -362,10 +362,10 @@ describe('conversations', () => {
const alix = await Client.create(wallet, {
env: 'local',
})
const timestamp = Date.now() + 1
const timestamp = Date.now()
const consentMessage = WalletSigner.consentProofRequestText(
bo.address,
timestamp
timestamp + 1
)
const signedMessage = await keySigner.wallet.signMessage(consentMessage)
const consentProofPayload = invitation.ConsentProofPayload.fromPartial({
Expand Down

0 comments on commit 7cfb79d

Please sign in to comment.