Skip to content

Commit 0550aa8

Browse files
committed
Change the type of psDeposits to CompactForm Coin
1 parent bbbc586 commit 0550aa8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libs/cardano-ledger-core/src/Cardano/Ledger/Plutus/ToPlutusData.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ deriving instance ToPlutusData Coin
107107

108108
instance ToPlutusData (CompactForm Coin) where
109109
toPlutusData = toPlutusData . fromCompact
110+
110111
fromPlutusData (I i) = toCompact (Coin i)
111112
fromPlutusData _ = Nothing
112113

0 commit comments

Comments
 (0)