Remove blockhash from fee calculation (#20641)
This commit is contained in:
@@ -486,7 +486,8 @@ impl Accounts {
|
||||
.cloned()
|
||||
});
|
||||
let fee = if let Some(fee_calculator) = fee_calculator {
|
||||
tx.message().calculate_fee(&fee_calculator)
|
||||
tx.message()
|
||||
.calculate_fee(fee_calculator.lamports_per_signature)
|
||||
} else {
|
||||
return (Err(TransactionError::BlockhashNotFound), None);
|
||||
};
|
||||
|
Reference in New Issue
Block a user