Fix getClientVersionV1 for Geth 1.13 (#5884)

* Fix getClientVersionV1 for Geth 1.13
This commit is contained in:
Michael Sproul
2024-06-04 14:29:12 +10:00
committed by GitHub
parent 8a247eb7ed
commit 2c72bb8fc6

View File

@@ -755,6 +755,9 @@ pub mod serde_logs_bloom {
#[serde(rename_all = "camelCase")]
pub struct JsonClientVersionV1 {
pub code: String,
// This `default` is required until Geth v1.13.x is no longer supported on mainnet.
// See: https://github.com/ethereum/go-ethereum/pull/29351
#[serde(default)]
pub name: String,
pub version: String,
pub commit: String,