feat(net): add eth66 to default caps (#673)

This commit is contained in:
Matthias Seitz
2023-01-01 17:32:35 +01:00
committed by GitHub
parent efac887e30
commit dafc01dde7

View File

@ -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,
}