fix(dapp): use plain byte array for instruction.data
to match live solana dapps
This commit is contained in:
parent
4a6d13e422
commit
cc46f67b2d
@ -562,7 +562,7 @@ export function JsonRpcContextProvider({
|
||||
recentBlockhash: transaction.recentBlockhash,
|
||||
instructions: transaction.instructions.map((i) => ({
|
||||
programId: i.programId.toBase58(),
|
||||
data: bs58.encode(i.data),
|
||||
data: Array.from(i.data),
|
||||
keys: i.keys.map((k) => ({
|
||||
isSigner: k.isSigner,
|
||||
isWritable: k.isWritable,
|
||||
|
Loading…
Reference in New Issue
Block a user