fix solana message signing

This commit is contained in:
Ilja 2022-03-15 15:37:08 +02:00
parent 0a839ff36e
commit 19a5aad5ef

View File

@ -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: