Purge remaining last_id (now called block_hash)
This commit is contained in:
committed by
Greg Fitzgerald
parent
2bfad87a5f
commit
258cf21416
@@ -74,10 +74,10 @@ fn create_and_fund_vote_account(
|
||||
));
|
||||
}
|
||||
loop {
|
||||
let last_id = client.get_recent_block_hash();
|
||||
info!("create_and_fund_vote_account last_id={:?}", last_id);
|
||||
let block_hash = client.get_recent_block_hash();
|
||||
info!("create_and_fund_vote_account block_hash={:?}", block_hash);
|
||||
let transaction =
|
||||
VoteTransaction::fund_staking_account(node_keypair, vote_account, last_id, 1, 1);
|
||||
VoteTransaction::fund_staking_account(node_keypair, vote_account, block_hash, 1, 1);
|
||||
|
||||
match client.transfer_signed(&transaction) {
|
||||
Ok(signature) => {
|
||||
|
Reference in New Issue
Block a user