Skip to content

Commit

Permalink
Merge pull request #1974 from stakwork/fix/send-base64-string-sign-me…
Browse files Browse the repository at this point in the history
…ssage

fix: convert message string to base64
  • Loading branch information
Rassl authored Jul 31, 2024
2 parents f79f8ba + bbcba4d commit f579303
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/getSignedMessage/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: '' }
}
Expand Down

0 comments on commit f579303

Please sign in to comment.