The message is received as a hex string, we need to strip the "0x" prefix and convert it to a string. Because the SDK signMessage function takes the message to sign as a Buffer of the text message.
Otherwise, the message to sign is the hex representation of the message and not the plain text one
The message is received as a hex string, we need to strip the "0x" prefix and convert it to a string. Because the SDK signMessage function takes the message to sign as a Buffer of the text message.
Otherwise, the message to sign is the hex representation of the message and not the plain text one