Skip to content

Commit

Permalink
Correct the type of innerInstructions in JSON RPC errors
Browse files Browse the repository at this point in the history
  • Loading branch information
steveluscher committed Jun 27, 2024
1 parent 8c2dd82 commit 365b4ae
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/errors/src/json-rpc-error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,21 +61,21 @@ export interface RpcSimulateTransactionResult {
accounts: number[];
data: string;
programIdIndex: number;
stack_height?: number;
stackHeight?: number;
}
| {
// Parsed
parsed: unknown;
program: string;
program_id: string;
stack_height?: number;
programId: string;
stackHeight?: number;
}
| {
// PartiallyDecoded
accounts: string[];
data: string;
program_id: string;
stack_height?: number;
programId: string;
stackHeight?: number;
}
)[];
}[]
Expand Down

0 comments on commit 365b4ae

Please sign in to comment.