Skip to content
Permalink
Browse files

Remove warnings and apply @nc6's trick

  • Loading branch information...
dnadales committed Mar 14, 2019
1 parent 1c9ea79 commit e463f582a938888fc2cfaeb77944e215a3341726
@@ -1,3 +1,4 @@
{-# LANGUAGE DerivingVia #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE TemplateHaskell #-}

@@ -29,6 +30,7 @@ module Cardano.Chain.Update.Validation.Interface
, Error (..)
-- * Interface functions
, registerProposal
, registerVote
)
where

@@ -40,10 +42,8 @@ import Cardano.Prelude
, ($!)
, (&)
, pure
, undefined
, wrapError
, elem
, notElem
)

import Control.Lens ((.~), makeLenses, (^.), (%~))
@@ -1,3 +1,4 @@
{-# LANGUAGE DerivingVia #-}
{-# LANGUAGE FlexibleContexts #-}

-- | Validation rules for registering votes and confirming proposals

0 comments on commit e463f58

Please sign in to comment.
You can’t perform that action at this time.