Skip to content

Commit

Permalink
add inline
Browse files Browse the repository at this point in the history
  • Loading branch information
grandima committed Oct 31, 2024
1 parent 817ed95 commit 2ac8cad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/primitives/src/signature/ecdsa_sig.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<u64> {
self.v.chain_id()
self.v().chain_id()
}

/// Returns true if the signature is replay-protected by [EIP-155].
Expand Down

0 comments on commit 2ac8cad

Please sign in to comment.