From dafc01dde7a5dd79b6130eadb785e211ff05f977 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Sun, 1 Jan 2023 17:32:35 +0100 Subject: [PATCH] feat(net): add eth66 to default caps (#673) --- crates/net/eth-wire/src/hello.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/net/eth-wire/src/hello.rs b/crates/net/eth-wire/src/hello.rs index 91bf6267e3..eeb5cadbe2 100644 --- a/crates/net/eth-wire/src/hello.rs +++ b/crates/net/eth-wire/src/hello.rs @@ -94,7 +94,8 @@ impl HelloMessageBuilder { HelloMessage { protocol_version: protocol_version.unwrap_or_default(), client_version: client_version.unwrap_or_else(|| DEFAULT_CLIENT_VERSION.to_string()), - capabilities: capabilities.unwrap_or_else(|| vec![EthVersion::Eth67.into()]), + capabilities: capabilities + .unwrap_or_else(|| vec![EthVersion::Eth66.into(), EthVersion::Eth67.into()]), port: port.unwrap_or(30303), id, }