Skip to content

Commit

Permalink
Refactor IInstructionWithData to not extend IInstruction, and to not …
Browse files Browse the repository at this point in the history
…have restricted data type
  • Loading branch information
mcintyre94 committed Nov 28, 2024
1 parent 584c637 commit 2580fea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/instructions/src/instruction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export function assertIsInstructionWithAccounts<
}
}

export interface IInstructionWithData<TData extends ReadonlyUint8Array> extends IInstruction {
export interface IInstructionWithData<TData> {
readonly data: TData;
}

Expand Down

0 comments on commit 2580fea

Please sign in to comment.