Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/evo/deterministicmns.h
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,8 @@ class CDeterministicMNListDiff
template <typename Stream>
void Unserialize(Stream& s)
{
// Reset all collections before reading
addedMNs.clear();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Could be in a Clear() function like CDeterministicMNList (source) but non-blocker

updatedMNs.clear();
removedMns.clear();

Expand Down
Loading