Skip to content

Commit

Permalink
[shelley] - LaxBlock
Browse files Browse the repository at this point in the history
  • Loading branch information
teodanciu committed Jan 27, 2025
1 parent 47e00a3 commit 9e6827f
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ import Data.Typeable (Typeable)
newtype LaxBlock h era = LaxBlock (Block h era)
deriving (ToCBOR)

deriving newtype instance
( EraSegWits era
, DecCBOR (TxSeq era)
, DecCBOR h
) =>
DecCBOR (LaxBlock h era)

blockDecoder ::
( EraTx era
, TxSeq era ~ ShelleyTxSeq era
Expand Down

0 comments on commit 9e6827f

Please sign in to comment.