mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
fix: use max_fee_per_blob_gas in blob gas cost calc (#4521)
This commit is contained in:
@ -762,7 +762,7 @@ impl EthPooledTransaction {
|
||||
|
||||
if let Some(blob_tx) = transaction.as_eip4844() {
|
||||
// add max blob cost
|
||||
cost += U256::from(blob_tx.max_fee_per_gas * blob_tx.blob_gas() as u128);
|
||||
cost += U256::from(blob_tx.max_fee_per_blob_gas * blob_tx.blob_gas() as u128);
|
||||
}
|
||||
|
||||
Self { transaction, cost, blob_sidecar }
|
||||
|
||||
Reference in New Issue
Block a user