-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
SelectionContext
parameter consistently in SelectionOutputError
.
This refactoring adjusts type `SelectionOutputCoinInsufficientError` so that it takes a `ctx` parameter, rather than an `Address ctx` parameter. As a result, all `SelectionOutputError` constructors now use the same style of parameterisation: ``` data SelectionOutputError ctx = SelectionOutputCoinInsufficient (SelectionOutputCoinInsufficientError ctx) | SelectionOutputSizeExceedsLimit (SelectionOutputSizeExceedsLimitError ctx) | SelectionOutputTokenQuantityExceedsLimit (SelectionOutputTokenQuantityExceedsLimitError ctx) ```
- Loading branch information
1 parent
fe2841c
commit 3bfe1bb
Showing
2 changed files
with
17 additions
and
13 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