block_hash => blockhash
This commit is contained in:
committed by
Greg Fitzgerald
parent
0f1582c196
commit
a94880574b
@ -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) => {
|
||||
|
Reference in New Issue
Block a user