Fix PR race

This commit is contained in:
Sagar Dhawan 2019-02-28 17:19:47 -08:00 committed by Michael Vines
parent b41286919d
commit 07e4f9a611
1 changed files with 1 additions and 1 deletions

View File

@ -1623,7 +1623,7 @@ fn stake_fullnode(
let vote_account_id = voting_keypair.pubkey();
let new_vote_account_tx =
VoteTransaction::new_account(node, vote_account_id, *last_tick, stake, 0);
VoteTransaction::fund_staking_account(node, vote_account_id, *last_tick, stake, 0);
let new_vote_account_entry = next_entry_mut(last_hash, 1, vec![new_vote_account_tx]);
/*
let vote_tx = VoteTransaction::new_vote(&voting_keypair, 1, *last_tick, 0);