fix: properly export SYSTEM_INSTRUCTION_LAYOUTS
This commit is contained in:
parent
5e1a26ce2e
commit
ae10f1ecab
|
@ -15,7 +15,11 @@ export {
|
|||
STAKE_INSTRUCTION_LAYOUTS,
|
||||
StakeProgram,
|
||||
} from './stake-program';
|
||||
export {SystemInstruction, SystemProgram} from './system-program';
|
||||
export {
|
||||
SystemInstruction,
|
||||
SystemProgram,
|
||||
SYSTEM_INSTRUCTION_LAYOUTS,
|
||||
} from './system-program';
|
||||
export {Transaction, TransactionInstruction} from './transaction';
|
||||
export {VALIDATOR_INFO_KEY, ValidatorInfo} from './validator-info';
|
||||
export {VOTE_PROGRAM_ID, VoteAccount} from './vote-account';
|
||||
|
|
|
@ -363,7 +363,7 @@ export type SystemInstructionType = $Keys<typeof SYSTEM_INSTRUCTION_LAYOUTS>;
|
|||
/**
|
||||
* An enumeration of valid system InstructionType's
|
||||
*/
|
||||
const SYSTEM_INSTRUCTION_LAYOUTS = Object.freeze({
|
||||
export const SYSTEM_INSTRUCTION_LAYOUTS = Object.freeze({
|
||||
Create: {
|
||||
index: 0,
|
||||
layout: BufferLayout.struct([
|
||||
|
|
Loading…
Reference in New Issue