Skip to content

Commit afaa27a

Browse files
committed
Fix
1 parent 6198fc3 commit afaa27a

File tree

1 file changed

+4
-5
lines changed
  • cardano-api/src/Cardano/Api/Experimental/Tx/Internal/Certificate

1 file changed

+4
-5
lines changed

cardano-api/src/Cardano/Api/Experimental/Tx/Internal/Certificate/Compatible.hs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,12 @@ type family Delegatee era where
5656
Delegatee ShelleyEra = Api.Hash Api.StakePoolKey
5757

5858
makeStakeAddressDelegationCertificate
59-
:: forall era
60-
. IsShelleyBasedEra era
61-
=> StakeCredential
59+
:: ShelleyBasedEra era
60+
-> StakeCredential
6261
-> Delegatee era
6362
-> Certificate (ShelleyLedgerEra era)
64-
makeStakeAddressDelegationCertificate sCred delegatee =
65-
case shelleyBasedEra @era of
63+
makeStakeAddressDelegationCertificate sbe sCred delegatee =
64+
case sbe of
6665
ShelleyBasedEraConway ->
6766
Certificate $
6867
Ledger.mkDelegTxCert (toShelleyStakeCredential sCred) delegatee

0 commit comments

Comments
 (0)