-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: change BTreeSet<SpentProofShare> to HashSet
bug: The ReissueRequestBuilder was only storing 1 SpentProofShare per KeyImage because the SpentProofShare were being ordered by KeyImage which is the same for all items in the set for a given input. The fix is to use a HashSet instead. changes: * use HashSet<SpentProofShare> instead of BTreeSet in ReissueRequestBuilder * add NodeSignature::to_bytes() * impl (PartialEq, Eq) manually on SpentProofShare * remove Ord, PartialOrd impls on SpentProofShare * impl Hash on SpentProofShare * add SpentProofShare::to_bytes()
- Loading branch information
Showing
3 changed files
with
29 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters