Avoiding infinite recursion in trait implementation (#14261)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
comfsrt
2025-02-06 14:12:51 +01:00
committed by GitHub
parent ad7dec3b6a
commit 2ee7748459

View File

@ -55,7 +55,7 @@ impl<N: NetworkPrimitives> RethNetworkConfig for reth_network::NetworkManager<N>
} }
fn secret_key(&self) -> secp256k1::SecretKey { fn secret_key(&self) -> secp256k1::SecretKey {
self.secret_key() Self::secret_key(self)
} }
} }