Skip to content

Commit 2ca5475

Browse files
committed
Change the type of psDeposits to CompactForm Coin
1 parent e250c6a commit 2ca5475

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
@@ -103,6 +103,7 @@ deriving instance ToPlutusData Coin
103103

104104
instance ToPlutusData (CompactForm Coin) where
105105
toPlutusData = toPlutusData . fromCompact
106+
106107
fromPlutusData (I i) = toCompact (Coin i)
107108
fromPlutusData _ = Nothing
108109

0 commit comments

Comments
 (0)