chore(transaction-pool): make price_bump fn public (#15772)

This commit is contained in:
cakevm
2025-04-16 17:36:15 +02:00
committed by GitHub
parent 12c2dba821
commit ba6720d559

View File

@@ -150,7 +150,7 @@ pub struct PriceBumpConfig {
impl PriceBumpConfig {
/// Returns the price bump required to replace the given transaction type.
#[inline]
pub(crate) const fn price_bump(&self, tx_type: u8) -> u128 {
pub const fn price_bump(&self, tx_type: u8) -> u128 {
if tx_type == EIP4844_TX_TYPE_ID {
return self.replace_blob_tx_price_bump
}