Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2261: Update the API specification to reflect the minimum number of inputs returned by `selectCoins`. r=KtorZ a=jonathanknowles # Issue Related to #2244. # Overview This PR updates the API specification for the `selectCoins` operation, changing the minimum number of inputs from `0` to `1` in the returned coin selection. This matches the existing `ApiCoinSelection` type, which specifies a `NonEmpty` list of `ApiCoinSelectionInput` values: ```hs data ApiCoinSelection (n :: NetworkDiscriminant) = ApiCoinSelection { inputs :: !(NonEmpty (ApiCoinSelectionInput n)) , outputs :: ![ApiCoinSelectionOutput n] , change :: ![ApiCoinSelectionChange n] , certificates :: Maybe (NonEmpty ApiCertificate) } deriving (Eq, Generic, Show) ``` Co-authored-by: Jonathan Knowles <[email protected]>
- Loading branch information