From 21f7aef86d96daf4b71f9ae6f248f2833af55704 Mon Sep 17 00:00:00 2001 From: James Date: Fri, 18 Oct 2024 21:02:56 -0400 Subject: [PATCH] lint: clippy --- crates/consensus/src/transaction/legacy.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }