diff --git a/crates/consensus/src/transaction/legacy.rs b/crates/consensus/src/transaction/legacy.rs index 47a39ba658e4..9e6ed7d0cb04 100644 --- a/crates/consensus/src/transaction/legacy.rs +++ b/crates/consensus/src/transaction/legacy.rs @@ -138,7 +138,7 @@ impl RlpEcdsaTx for TxLegacy { fn rlp_encoded_length_with_signature(&self, signature: &Signature) -> usize { // Enforce correct parity for legacy transactions (EIP-155, 27 or 28). let signature = legacy_sig!(signature); - let header = self.rlp_header_signed(&signature); + let header = self.rlp_header_signed(signature); header.length() + header.payload_length }