diff --git a/packages/dapp-toolkit/src/modules/wallet-request/crypto/create-signature-message.ts b/packages/dapp-toolkit/src/modules/wallet-request/crypto/create-signature-message.ts index c4b140d9..687f0dc5 100644 --- a/packages/dapp-toolkit/src/modules/wallet-request/crypto/create-signature-message.ts +++ b/packages/dapp-toolkit/src/modules/wallet-request/crypto/create-signature-message.ts @@ -39,17 +39,17 @@ export const createSignatureMessage = ({ method: 'createSignatureMessage', messagePartsRaw: [ prefix, + interactionId, lengthOfDappDefAddress, dAppDefinitionAddress, origin, - interactionId, ], messageParts: [ prefixBuffer.toString('hex'), + interactionIdBuffer.toString('hex'), lengthOfDappDefAddressBuffer.toString('hex'), dappDefAddressBuffer.toString('hex'), originBuffer.toString('hex'), - interactionIdBuffer.toString('hex'), ], message: messageBuffer.toString('hex'), blake2bHash: hash.toString('hex'),