Merge stake::withdraw instructions (#9617)

This commit is contained in:
Greg Fitzgerald
2020-04-20 18:16:50 -06:00
committed by GitHub
parent b1a0abc7a6
commit a6ad660e5e
4 changed files with 14 additions and 20 deletions

View File

@ -224,6 +224,7 @@ fn test_stake_account_lifetime() {
&stake_pubkey,
&Pubkey::new_rand(),
1,
None,
)],
Some(&mint_pubkey),
);
@ -318,6 +319,7 @@ fn test_stake_account_lifetime() {
&stake_pubkey,
&Pubkey::new_rand(),
lamports / 2 - split_staked + 1,
None,
)],
Some(&mint_pubkey),
);
@ -339,6 +341,7 @@ fn test_stake_account_lifetime() {
&stake_pubkey,
&Pubkey::new_rand(),
lamports / 2,
None,
)],
Some(&mint_pubkey),
);
@ -354,6 +357,7 @@ fn test_stake_account_lifetime() {
&stake_pubkey,
&Pubkey::new_rand(),
lamports / 2 - split_staked,
None,
)],
Some(&mint_pubkey),
);
@ -378,6 +382,7 @@ fn test_stake_account_lifetime() {
&stake_pubkey,
&Pubkey::new_rand(),
split_staked,
None,
)],
Some(&mint_pubkey),
);