Revert to more consistent naming (#3114)

This commit is contained in:
Sagar Dhawan
2019-03-04 17:50:19 -08:00
committed by GitHub
parent 6d82123125
commit dc42c12f2b
11 changed files with 19 additions and 31 deletions

View File

@ -47,7 +47,7 @@ fn create_and_fund_vote_account(
let blockhash = client.get_recent_blockhash();
info!("create_and_fund_vote_account blockhash={:?}", blockhash);
let transaction =
VoteTransaction::fund_staking_account(node_keypair, vote_account, blockhash, 1, 1);
VoteTransaction::new_account(node_keypair, vote_account, blockhash, 1, 1);
match client.transfer_signed(&transaction) {
Ok(signature) => {