Skip to content

Commit

Permalink
Fix reviewer suggestion on Shelly.Compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
HeinrichApfelmus committed Jan 13, 2022
1 parent c7737cf commit 23d2347
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/shelley/src/Cardano/Wallet/Shelley/Compatibility.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1310,11 +1310,6 @@ fromShelleyAddress = W.Address
fromShelleyCoin :: SL.Coin -> W.Coin
fromShelleyCoin (SL.Coin c) = Coin.unsafeFromIntegral c

{-
toShelleyCoin :: W.Coin -> SL.Coin
toShelleyCoin (W.Coin c) = SL.Coin $ intCast c
-}

fromCardanoTx :: Cardano.Tx era -> (W.Tx, TokenMap, TokenMap, [Certificate])
fromCardanoTx = \case
Cardano.ShelleyTx era tx -> case era of
Expand Down

0 comments on commit 23d2347

Please sign in to comment.