Skip to content

Commit

Permalink
Remove specialized small hashes for testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
lehins committed Jan 17, 2022
1 parent 4b6e476 commit 0d86da2
Showing 1 changed file with 2 additions and 3 deletions.
Expand Up @@ -19,7 +19,6 @@ where

import Cardano.Crypto.DSIGN (MockDSIGN, VerKeyDSIGN)
import qualified Cardano.Crypto.DSIGN.Class as DSIGN
import Cardano.Crypto.Hash (Blake2bPrefix)
import Cardano.Crypto.KES (MockKES)
import qualified Cardano.Crypto.KES.Class as KES
import Cardano.Crypto.Util (SignableRepresentation)
Expand Down Expand Up @@ -53,8 +52,8 @@ type TestCrypto = C_Crypto
data C_Crypto

instance Cardano.Ledger.Crypto.Crypto C_Crypto where
type HASH C_Crypto = Blake2bPrefix 10
type ADDRHASH C_Crypto = Blake2bPrefix 8
type HASH C_Crypto = HASH (StandardCrypto)
type ADDRHASH C_Crypto = ADDRHASH (StandardCrypto)
type DSIGN C_Crypto = MockDSIGN
type KES C_Crypto = MockKES 10
type VRF C_Crypto = FakeVRF
Expand Down

0 comments on commit 0d86da2

Please sign in to comment.