github.com/badrootd/celestia-core@v0.0.0-20240305091328-aa4207a4b25d/.changelog/v0.34.28/bug-fixes/524-rename-peerstate-tojson.md (about) 1 - `[consensus]` Rename `(*PeerState).ToJSON` to `MarshalJSON` to fix a logging data race 2 ([\#524](https://github.com/cometbft/cometbft/pull/524))