Skip to content

Commit 7ee73d5

Browse files
committed
Remove SerialiseAsBech32 Hash StakeKey instance
1 parent d68d3b5 commit 7ee73d5

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

  • cardano-api/src/Cardano/Api/Internal/Keys

cardano-api/src/Cardano/Api/Internal/Keys/Shelley.hs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -428,10 +428,6 @@ instance SerialiseAsRawBytes (Hash StakeKey) where
428428
maybeToRight (SerialiseAsRawBytesError "Unable to deserialise Hash StakeKey") $
429429
StakeKeyHash . Shelley.KeyHash <$> Crypto.hashFromBytes bs
430430

431-
instance SerialiseAsBech32 (Hash StakeKey) where
432-
bech32PrefixFor _ = "pool"
433-
bech32PrefixesPermitted _ = ["pool"]
434-
435431
instance HasTextEnvelope (VerificationKey StakeKey) where
436432
textEnvelopeType _ =
437433
"StakeVerificationKeyShelley_"

0 commit comments

Comments
 (0)