You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(beacon-api): gate disconnect_reason on disconnected/disconnecting state
Per the proposed beacon-API spec
(ethereum/beacon-APIs#606), `disconnect_reason`
MUST only be populated when the peer's `state` is `disconnected` or
`disconnecting`. Wrap the existing `last_disconnect()` lookup in both
the single-peer and list handlers so the field is omitted (None) for
connected/connecting peers.
0 commit comments