Deprecate FeeCalculator returning APIs (#19120)

This commit is contained in:
Jack May
2021-08-13 09:08:20 -07:00
committed by GitHub
parent 26e963f436
commit 0b50bb2b20
47 changed files with 1119 additions and 463 deletions

View File

@@ -205,8 +205,7 @@ fn send_and_confirm_message<S: Signers>(
) -> Result<Signature, ClientError> {
let mut transaction = Transaction::new_unsigned(message);
let (blockhash, _fee_calculator) =
client.get_new_blockhash(&transaction.message().recent_blockhash)?;
let blockhash = client.get_new_latest_blockhash(&transaction.message().recent_blockhash)?;
transaction.try_sign(signers, blockhash)?;
if no_wait {