Move CLI nonce account helpers in client
This commit is contained in:
committed by
Trent Nelson
parent
dda48e2d06
commit
a6533c3a21
@@ -1440,8 +1440,11 @@ fn process_transfer(
|
||||
return_signers(&tx, &config)
|
||||
} else {
|
||||
if let Some(nonce_account) = &nonce_account {
|
||||
let nonce_account =
|
||||
nonce::get_account_with_commitment(rpc_client, nonce_account, config.commitment)?;
|
||||
let nonce_account = nonce_utils::get_account_with_commitment(
|
||||
rpc_client,
|
||||
nonce_account,
|
||||
config.commitment,
|
||||
)?;
|
||||
check_nonce_account(&nonce_account, &nonce_authority.pubkey(), &recent_blockhash)?;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user