Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Jonathan Knowles <mail@jonathanknowles.net>
  • Loading branch information
Anviking and jonathanknowles committed Jul 20, 2023
1 parent ed15461 commit 2455b88
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/wallet/src/Cardano/Wallet/Write/Tx/Balance.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1185,7 +1185,7 @@ modifyShelleyTxBody txUpdate era = withConstraints era $
-- distributeSurplus
--------------------------------------------------------------------------------

-- | Error for when its impossible for 'distributeSurplus' to distribute the
-- | Indicates that it's impossible for 'distributeSurplus' to distribute a
-- surplus. As long as the surplus is larger than 'costOfIncreasingCoin', this
-- should never happen.
newtype ErrMoreSurplusNeeded = ErrMoreSurplusNeeded W.Coin
Expand All @@ -1212,8 +1212,6 @@ mapTxFeeAndChange
-- ^ The transformed fee and change
mapTxFeeAndChange mapFee mapChange TxFeeAndChange {fee, change} =
TxFeeAndChange (mapFee fee) (mapChange change)


-- | Calculate the cost of increasing a CBOR-encoded Coin-value by another Coin
-- with the lovelace/byte cost given by the 'FeePolicy'.
--
Expand Down

0 comments on commit 2455b88

Please sign in to comment.