Skip to content

Commit

Permalink
Remove unused ErrSelectForDelegationUnableToAssignInputs
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian Ospald committed Oct 20, 2020
1 parent 53d3128 commit 0ea55b6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion lib/core/src/Cardano/Wallet.hs
Original file line number Diff line number Diff line change
Expand Up @@ -2261,7 +2261,6 @@ data ErrStartTimeLaterThanEndTime = ErrStartTimeLaterThanEndTime
data ErrSelectForDelegation
= ErrSelectForDelegationNoSuchWallet ErrNoSuchWallet
| ErrSelectForDelegationFee ErrAdjustForFee
| ErrSelectForDelegationUnableToAssignInputs ErrNoSuchWallet
deriving (Show, Eq)

-- | Errors that can occur when signing a delegation certificate.
Expand Down
1 change: 0 additions & 1 deletion lib/core/src/Cardano/Wallet/Api/Server.hs
Original file line number Diff line number Diff line change
Expand Up @@ -2540,7 +2540,6 @@ instance LiftHandler ErrSelectForDelegation where
[ "I'm unable to select enough coins to pay for a "
, "delegation certificate. I need: ", showT cost, " Lovelace."
]
ErrSelectForDelegationUnableToAssignInputs e -> handler e

instance LiftHandler ErrSignDelegation where
handler = \case
Expand Down

0 comments on commit 0ea55b6

Please sign in to comment.