Skip to content
Permalink
Browse files

Remove warnings and apply @nc6's trick

  • Loading branch information...
dnadales committed Mar 14, 2019
1 parent 80994ab commit 8194af3534721859f4fc4b5246f6820bca2bd299
@@ -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 8194af3

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