mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
fix: add test for truncating parked with large transactions (#6366)
This commit is contained in:
@ -500,7 +500,7 @@ impl Transaction {
|
||||
|
||||
/// Calculates a heuristic for the in-memory size of the [Transaction].
|
||||
#[inline]
|
||||
fn size(&self) -> usize {
|
||||
pub fn size(&self) -> usize {
|
||||
match self {
|
||||
Transaction::Legacy(tx) => tx.size(),
|
||||
Transaction::Eip2930(tx) => tx.size(),
|
||||
|
||||
Reference in New Issue
Block a user