cardano-foundation / cardano-wallet

HTTP server & command-line for managing UTxOs and HD wallets in Cardano.
Apache License 2.0
757 stars 213 forks source link

[ADP-3272] Use `Data.Set.NonEmpty` for `UnresolvedInputs` error. #4572

Closed jonathanknowles closed 2 months ago

jonathanknowles commented 2 months ago

This PR adjusts the ErrBalanceTxUnresolvedInputs error to use a non-empty set instead of a non-empty list:

- | ErrBalanceTxUnresolvedInputs (NonEmpty TxIn)
+ | ErrBalanceTxUnresolvedInputs (NESet    TxIn)

Justification

Issue

ADP-3272