Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: avoid recursive call after rename to (*PeerState).MarshalJSON (b…
…ackport #865) (#968) * fix: avoid recursive call after rename to (*PeerState).MarshalJSON (#865) * avoid recursive call after rename to (*PeerState).MarshalJSON * add test * add change doc * explain for nolint * fix lint * fix golangci-lint to v1.52.2 * fix golangci-lint to v1.52.2 * Revert "fix golangci-lint to v1.52.2" This reverts commit 598a9ef. * Revert "fix golangci-lint to v1.52.2" This reverts commit a8aad12. * Reintroduced `cmtjson` * Avoid copying Mutex * Avoid copying Mutex -- 2nd try, more succint * Update .changelog/unreleased/bug-fixes/865-fix-peerstate-marshaljson.md * Update consensus/reactor_test.go --------- Co-authored-by: Sergio Mena <sergio@informal.systems> (cherry picked from commit f6ea091) * Update .changelog/unreleased/bug-fixes/865-fix-peerstate-marshaljson.md * Revert "Update .changelog/unreleased/bug-fixes/865-fix-peerstate-marshaljson.md" This reverts commit 2b96118. --------- Co-authored-by: mmsqe <mavis@crypto.com> Co-authored-by: Sergio Mena <sergio@informal.systems>
- Loading branch information