feat: expose instruction types and refactor
This commit is contained in:
committed by
Michael Vines
parent
8b95f41c51
commit
0cdf532419
@@ -249,7 +249,7 @@ test('non-SystemInstruction error', () => {
|
||||
data: Buffer.from([2, 0, 0, 0]),
|
||||
};
|
||||
expect(() => {
|
||||
new SystemInstruction(badProgramId);
|
||||
new SystemInstruction(badProgramId, 'Create');
|
||||
}).toThrow();
|
||||
|
||||
const amount = 123;
|
||||
|
Reference in New Issue
Block a user