block_hash => blockhash

This commit is contained in:
Michael Vines
2019-03-02 10:25:16 -08:00
committed by Greg Fitzgerald
parent 0f1582c196
commit a94880574b
55 changed files with 591 additions and 597 deletions

View File

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