Skip to content

Fix mutation of otherProcesses when filtering replica targets#125

Open
kevindharmawan wants to merge 1 commit intobft-smart:masterfrom
SeeMoReLab:bugfix/other-processes-mutation
Open

Fix mutation of otherProcesses when filtering replica targets#125
kevindharmawan wants to merge 1 commit intobft-smart:masterfrom
SeeMoReLab:bugfix/other-processes-mutation

Conversation

@kevindharmawan
Copy link

  • ServerViewController.getReplicasWithout was mutating the input array (e.g., ServerViewController.otherProcesses), corrupting the view data when used by decision-forwarding.
  • Now it returns a new array with the target without replica removed, leaving the original array unchanged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant