From 2ee774845915611c2d8653bc2f77db4b3d16fd6c Mon Sep 17 00:00:00 2001 From: comfsrt <155266597+comfsrt@users.noreply.github.com> Date: Thu, 6 Feb 2025 14:12:51 +0100 Subject: [PATCH] Avoiding infinite recursion in trait implementation (#14261) Co-authored-by: Matthias Seitz --- crates/node/core/src/cli/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/node/core/src/cli/config.rs b/crates/node/core/src/cli/config.rs index 370c6e67dd2a..6c34defb4396 100644 --- a/crates/node/core/src/cli/config.rs +++ b/crates/node/core/src/cli/config.rs @@ -55,7 +55,7 @@ impl RethNetworkConfig for reth_network::NetworkManager } fn secret_key(&self) -> secp256k1::SecretKey { - self.secret_key() + Self::secret_key(self) } }