Skip to content

Commit

Permalink
Cleaned up comments
Browse files Browse the repository at this point in the history
  • Loading branch information
TimSheard committed May 6, 2021
1 parent d4735d6 commit 98d2e02
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion alonzo/impl/src/Cardano/Ledger/Alonzo.hs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ instance (CC.Crypto c) => Shelley.ValidateScript (AlonzoEra c) where
then "\x01"
else nativeMultiSigTag -- "\x00"
validateScript (TimelockScript script) tx = validateTimelock @(AlonzoEra c) script tx
-- TODO check if instead we should filter plutus scripts before calling, instead of returning True?
validateScript (PlutusScript _) _tx = True

-- To run a PlutusScript use Cardano.Ledger.Alonzo.TxInfo(runPLCScript)
Expand Down

0 comments on commit 98d2e02

Please sign in to comment.