-
Notifications
You must be signed in to change notification settings - Fork 213
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minimize the responsibility of
makeChangeForNonUserSpecifiedOutputs
.
This change moves the following responsibilities out of the `makeChangeForNonUserSpecifiedOutputs` function: - the removing of burned values - the addition of minted values This reduces the complexity of property and unit tests that test this function. The following functions are still checked by relevant properties: - `addMintValuesToChangeMaps` - `removeBurnValuesFromChangeMaps` Further changes will add unit tests to act as documentation and sanity checks for the above functions.
- Loading branch information
1 parent
455d964
commit 142c2ee
Showing
2 changed files
with
12 additions
and
129 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