From 2ac8caddad183395b531d04a4b2a4e24742199bf Mon Sep 17 00:00:00 2001 From: Dmytro Medynskyi Date: Thu, 31 Oct 2024 01:39:56 +0100 Subject: [PATCH] add inline --- crates/primitives/src/signature/ecdsa_sig.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/primitives/src/signature/ecdsa_sig.rs b/crates/primitives/src/signature/ecdsa_sig.rs index 6962bf5a6e..06690578a0 100644 --- a/crates/primitives/src/signature/ecdsa_sig.rs +++ b/crates/primitives/src/signature/ecdsa_sig.rs @@ -212,8 +212,9 @@ impl Signature for EcdsaSignature { /// replay-protected by [EIP-155]. /// /// [EIP-155]: https://eips.ethereum.org/EIPS/eip-155 + #[inline] fn chain_id(&self) -> Option { - self.v.chain_id() + self.v().chain_id() } /// Returns true if the signature is replay-protected by [EIP-155].