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
{{ message }}
Repository navigation
Recursive call after rename to (*PeerState).MarshalJSON #863
Activity
adizere commentedon May 22, 2023
Thanks for opening the issue and PR! We'll confirm this soon and review your PR. cc @mark-rushakoff
cason commentedon Jun 12, 2023
This is actually more than that, as the error is reproduced in test units. It looks more like an infinite loop when marshalling to JSON.
mmsqe commentedon Jun 12, 2023
Since cmtjson.Marshal inside MarshalJSON of PeerState trigger itself again which implements JSONMarshaler interface, it causes recursive call.