add activate_stake to stake_api (#4600)

This commit is contained in:
Rob Walker
2019-06-10 12:17:29 -07:00
committed by GitHub
parent be3a0b6b10
commit a18c0e34f4
10 changed files with 185 additions and 135 deletions

View File

@@ -100,7 +100,7 @@ mod tests {
fn create_stake_account(stake: u64, vote_pubkey: &Pubkey) -> (Pubkey, Account) {
(
Pubkey::new_rand(),
stake_state::create_delegate_stake_account(&vote_pubkey, &VoteState::default(), stake),
stake_state::create_stake_account(&vote_pubkey, &VoteState::default(), stake),
)
}