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

@ -245,7 +245,7 @@ fn main() -> Result<(), Box<dyn error::Error>> {
// passive bootstrap leader stake
(
bootstrap_stake_keypair.pubkey(),
stake_state::create_delegate_stake_account(
stake_state::create_stake_account(
&bootstrap_vote_keypair.pubkey(),
&vote_state,
bootstrap_leader_stake_lamports,