diff --git a/wallets/react-wallet-v2/src/utils/SolanaRequestHandlerUtil.ts b/wallets/react-wallet-v2/src/utils/SolanaRequestHandlerUtil.ts index 512ceb0..da73438 100644 --- a/wallets/react-wallet-v2/src/utils/SolanaRequestHandlerUtil.ts +++ b/wallets/react-wallet-v2/src/utils/SolanaRequestHandlerUtil.ts @@ -11,7 +11,7 @@ export async function approveSolanaRequest(requestEvent: RequestEvent) { switch (method) { case SOLANA_SIGNING_METHODS.SOLANA_SIGN_MESSAGE: - const signedMessage = await wallet.signMessage(params.signDoc) + const signedMessage = await wallet.signMessage(params.message) return formatJsonRpcResult(id, signedMessage) case SOLANA_SIGNING_METHODS.SOLANA_SIGN_TRANSACTION: