Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
parameterize 'SelectionResult' over the change's inner type
The reason for this is to be able to re-use the 'SelectionResult' at various stages in the wallet layer, before and after having assigned change address to each change output. It opens room for writing nice functions such as: 'assignChangeAddress :: SelectionResult TokenBundle -> s -> (s, SelectionResult TxOut)' which, from its type signature informs nicely about what it is doing.
- Loading branch information