Remove blockhash from fee calculation (#20641)

This commit is contained in:
Jack May
2021-10-13 13:10:58 -07:00
committed by GitHub
parent 149d224557
commit da45be366a
21 changed files with 53 additions and 119 deletions

View File

@@ -367,7 +367,6 @@ pub fn process_authorize_nonce_account(
check_account_for_fee_with_commitment(
rpc_client,
&config.signers[0].pubkey(),
&latest_blockhash,
&tx.message,
config.commitment,
)?;
@@ -552,7 +551,6 @@ pub fn process_new_nonce(
check_account_for_fee_with_commitment(
rpc_client,
&config.signers[0].pubkey(),
&latest_blockhash,
&tx.message,
config.commitment,
)?;
@@ -628,7 +626,6 @@ pub fn process_withdraw_from_nonce_account(
check_account_for_fee_with_commitment(
rpc_client,
&config.signers[0].pubkey(),
&latest_blockhash,
&tx.message,
config.commitment,
)?;