mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-08 03:01:12 -04:00
chore(transaction-pool): make price_bump fn public (#15772)
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user