fix: add split to stake test

This commit is contained in:
Tyera Eulberg
2019-12-27 12:13:45 -07:00
committed by Michael Vines
parent 3595892fab
commit 8541868587
2 changed files with 19 additions and 3 deletions

View File

@@ -381,6 +381,7 @@ export class StakeProgram {
this.space,
this.programId,
);
transaction.instructions[0].keys[0].isSigner = false;
const type = StakeInstructionLayout.Split;
const data = encodeData(type, {lamports});