Skip to content

Commit

Permalink
hlint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
paweljakubas committed May 25, 2021
1 parent 2aacc43 commit 7bda368
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/core/src/Cardano/Wallet.hs
Original file line number Diff line number Diff line change
Expand Up @@ -2410,7 +2410,7 @@ data ErrAddCosignerKey
-- ^ Error adding this co-signer to the shared wallet.
deriving (Eq, Show)

data ErrConstructSharedWallet
newtype ErrConstructSharedWallet
= ErrConstructSharedWalletWrongScriptTemplate ErrScriptTemplate
-- ^ The shared wallet' script template doesn't pass validation
deriving (Eq, Show)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ validateScriptTemplates accXPub level pTemplate dTemplateM = do
Left MissingCosignerXPub -> Right ()
rest -> rest
checkTemplate cred template' =
mapLeft (\err -> ErrScriptTemplateInvalid cred err) $
mapLeft (ErrScriptTemplateInvalid cred) $
handleUnusedCosigner $
validateScriptTemplate level template'
checkXPub template' =
Expand Down

0 comments on commit 7bda368

Please sign in to comment.