Skip to content

Commit

Permalink
chore: update sign message api
Browse files Browse the repository at this point in the history
  • Loading branch information
AricRedemption committed Apr 26, 2024
1 parent e3ddb53 commit c61ea53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/actions/sign-message.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ import { Chain } from '@metalet/utxo-wallet-service'
export async function process(params: any, host: string) {
const wallet = await getCurrentWallet(Chain.MVC)
const signature = wallet.signMessage(params.message)
return { signature }
return { signature: { signature } }
}

0 comments on commit c61ea53

Please sign in to comment.