Skip to content

Commit

Permalink
Merge pull request #691 from magiclabs/jayhwang-sc-91622-type-mismatc…
Browse files Browse the repository at this point in the history
…h-in-solana-extension

Fix type mismatch for signMessage in solana-ext
  • Loading branch information
octave08 authored Dec 21, 2023
2 parents d88ee68 + b236e11 commit 146b388
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/@magic-ext/solana/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ export class SolanaExtension extends Extension.Internal<'solana', any> {
});
};

public signMessage = (message: any) => {
return this.request<{ rawTransaction: string }>({
public signMessage = (message: string | Uint8Array) => {
return this.request<Uint8Array>({
id: 42,
jsonrpc: '2.0',
method: SOLANA_PAYLOAD_METHODS.SIGN_MESSAGE,
Expand Down

0 comments on commit 146b388

Please sign in to comment.