@ -248,9 +248,9 @@ pub fn process_create_vote_account(
|
|||||||
(&vote_account_pubkey, "vote_account_pubkey".to_string()),
|
(&vote_account_pubkey, "vote_account_pubkey".to_string()),
|
||||||
)?;
|
)?;
|
||||||
|
|
||||||
let required_balance = dbg!(rpc_client
|
let required_balance = rpc_client
|
||||||
.get_minimum_balance_for_rent_exemption(VoteState::size_of())?
|
.get_minimum_balance_for_rent_exemption(VoteState::size_of())?
|
||||||
.max(1));
|
.max(1);
|
||||||
|
|
||||||
let vote_init = VoteInit {
|
let vote_init = VoteInit {
|
||||||
node_pubkey: *identity_pubkey,
|
node_pubkey: *identity_pubkey,
|
||||||
|
Reference in New Issue
Block a user