From bbcba4d3e228244057a43cb40c975f4db9609f36 Mon Sep 17 00:00:00 2001 From: Oluwatobi Bamidele Date: Wed, 31 Jul 2024 17:27:27 +0100 Subject: [PATCH] fix: convert message string to base64 --- src/utils/getSignedMessage/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/getSignedMessage/index.ts b/src/utils/getSignedMessage/index.ts index 2fb8f0ef4..18b9a2fbe 100644 --- a/src/utils/getSignedMessage/index.ts +++ b/src/utils/getSignedMessage/index.ts @@ -19,7 +19,7 @@ export async function getSignedMessageFromRelay(): Promise<{ message: string; si } try { - message = `${window.crypto.randomUUID()}${new Date().getTime()}` + message = btoa(`${window.crypto.randomUUID()}${new Date().getTime()}`) } catch (error) { return { message: '', signature: '' } }