Skip to content

Commit

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

Fix type mismatch for signTransaction in sol-ext
  • Loading branch information
octave08 authored May 3, 2024
2 parents d98c4f8 + b3354d3 commit 99cf131
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@magic-ext/solana/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export class SolanaExtension extends Extension.Internal<'solana', any> {
}

public signTransaction = (transaction: Transaction | VersionedTransaction, serializeConfig?: SerializeConfig) => {
return this.request<{ rawTransaction: string }>({
return this.request<{ rawTransaction: Uint8Array }>({
id: 42,
jsonrpc: '2.0',
method: SOLANA_PAYLOAD_METHODS.SIGN_TRANSACTION,
Expand Down

0 comments on commit 99cf131

Please sign in to comment.