Skip to content

Commit cfc8cea

Browse files
committed
Revert "Export HasKeyRole's coerceKeyRole function"
This reverts commit 450fc00.
1 parent 8a91df5 commit cfc8cea

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

cardano-api/internal/Cardano/Api/Certificate.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ import Cardano.Api.Value
100100

101101
import Cardano.Ledger.BaseTypes (strictMaybe)
102102
import qualified Cardano.Ledger.Coin as L
103+
import qualified Cardano.Ledger.Keys as Ledger
103104

104105
import Control.Monad.Except (MonadError (..))
105106
import Data.ByteString (ByteString)

cardano-api/internal/Cardano/Api/ReexposeLedger.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module Cardano.Api.ReexposeLedger
1818
, hashVerKeyVRF
1919
, hashWithSerialiser
2020
, PoolParams (..)
21-
, HasKeyRole (..)
21+
, HasKeyRole
2222
, MIRPot (..)
2323
, MIRTarget (..)
2424
, MIRCert (..)
@@ -221,7 +221,7 @@ import Cardano.Ledger.Core (Era (..), EraPParams (..), EraTxOut, PPara
221221
import Cardano.Ledger.Credential (Credential (..), credToText)
222222
import Cardano.Ledger.Crypto (ADDRHASH, Crypto, StandardCrypto)
223223
import Cardano.Ledger.DRep (DRep (..), drepAnchorL, drepDepositL, drepExpiryL)
224-
import Cardano.Ledger.Keys (HasKeyRole (..), KeyHash (..), KeyRole (..), VKey (..),
224+
import Cardano.Ledger.Keys (HasKeyRole, KeyHash (..), KeyRole (..), VKey (..),
225225
hashWithSerialiser)
226226
import Cardano.Ledger.Plutus.Data (Data (..), unData)
227227
import Cardano.Ledger.Plutus.Language (Language, Plutus, languageToText, plutusBinary)

0 commit comments

Comments
 (0)