Getting false for AppUtils.verifyUserSignatures() from signUserMessage() response

Hi All,

I input a hexed message into fcl.currentUser.signUserMessage(messageHex)

I use the response from that function in fcl.AppUtils.verifyUserSignature(messageHex, compSigs)

and it returns false.

What am I doing wrong?

Here is my code:

const input = 'Message to sign'
const messageHex = new Buffer.from(input, 'utf-8').toString('hex')

const compSigs = await fcl.currentUser.signUserMessage(messageHex)
const result = await fcl.AppUtils.verifyUserSignatures(messageHex, compSigs)

console.log(result)
1 Like