module Pos.Chain.Delegation.Proof
       ( DlgProof
       , mkDlgProof
       ) where

import           Pos.Crypto (Hash, hash)

import           Pos.Chain.Delegation.Payload

-- | Proof of delegation payload.
type DlgProof = Hash DlgPayload

-- | Creates 'DlgProof' out of delegation payload.
mkDlgProof :: DlgPayload -> DlgProof
mkDlgProof = hash
