mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat(net): add eth66 to default caps (#673)
This commit is contained in:
@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user