Skip to content

Commit

Permalink
Remove unused ErrSelectForDelegationUnableToAssignInputs
Browse files Browse the repository at this point in the history
  • Loading branch information
hasufell committed Oct 26, 2020
1 parent 19a0bf6 commit 2422854
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
Expand Up @@ -2421,7 +2421,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
Expand Up @@ -2618,7 +2618,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 2422854

Please sign in to comment.