github.com/badrootd/nibiru-cometbft@v0.37.5-0.20240307173500-2a75559eee9b/.changelog/v0.37.1/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))