fix: align web3 stake split instruction constuction with rust

This commit is contained in:
Trent Nelson
2020-07-09 19:40:20 -06:00
committed by Trent Nelson
parent a8b1d71ae6
commit 19813b0ab2
2 changed files with 2 additions and 3 deletions

View File

@ -142,7 +142,7 @@ test('split', () => {
expect(transaction.instructions).toHaveLength(2);
const [systemInstruction, stakeInstruction] = transaction.instructions;
const systemParams = {
fromPubkey: stakePubkey,
fromPubkey: authorizedPubkey,
newAccountPubkey: splitStakePubkey,
lamports: 0,
space: StakeProgram.space,