We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d319772 commit ccbecd6Copy full SHA for ccbecd6
cardano-db-sync/src/Cardano/DbSync/Util/Bech32.hs
@@ -19,6 +19,7 @@ import Cardano.Ledger.Crypto (VRF (..), StandardCrypto ())
19
import Cardano.Crypto.VRF.Praos (PraosVRF)
20
import Cardano.Ledger.Keys (KeyHash (..), KeyRole (..), VerKeyVRF ())
21
import Cardano.Prelude
22
+import Cardano.Protocol.Crypto
23
import Codec.Binary.Bech32
24
import Prelude (id)
25
@@ -53,7 +54,7 @@ deserialiseFromBech32 s = decodeLenient' s >>= dataPartToBytes'
53
54
55
56
-- | Serialise a Verification Key to bech32 address
-serialiseVerKeyVrfToBech32 :: VerKeyVRF (VRF PraosVRF) -> Text
57
+serialiseVerKeyVrfToBech32 :: VerKeyVRF PraosVRF -> Text
58
serialiseVerKeyVrfToBech32 =
59
serialiseToBech32 "vrf_vk" . rawSerialiseVerKeyVRF
60
0 commit comments