Skip to content

Commit

Permalink
fix EthTransactionValidationBuilder::set_eip4844 and no_eip4844 (p…
Browse files Browse the repository at this point in the history
  • Loading branch information
eyusufatik authored and mw2000 committed Jun 5, 2024
1 parent 22c4621 commit f7ad247
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/transaction-pool/src/validate/eth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -528,12 +528,12 @@ impl EthTransactionValidatorBuilder {

/// Disables the support for EIP-4844 transactions.
pub const fn no_eip4844(self) -> Self {
self.set_eip1559(false)
self.set_eip4844(false)
}

/// Set the support for EIP-4844 transactions.
pub const fn set_eip4844(mut self, eip1559: bool) -> Self {
self.eip1559 = eip1559;
pub const fn set_eip4844(mut self, eip4844: bool) -> Self {
self.eip4844 = eip4844;
self
}

Expand Down

0 comments on commit f7ad247

Please sign in to comment.