Skip to content

Commit

Permalink
fixup 0937b86
Browse files Browse the repository at this point in the history
  • Loading branch information
nfrisby committed Dec 17, 2024
1 parent 8ee9df8 commit 3ea291c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -306,14 +306,14 @@ newtype instance Header (TestBlockWith ptype) =

instance Typeable ptype => ShowProxy (Header (TestBlockWith ptype)) where

instance (Typeable ptype, Eq ptype) => HasHeader (Header (TestBlockWith ptype)) where
instance Typeable ptype => HasHeader (Header (TestBlockWith ptype)) where
getHeaderFields (TestHeader TestBlockWith{..}) = HeaderFields {
headerFieldHash = tbHash
, headerFieldSlot = tbSlot
, headerFieldBlockNo = fromIntegral . NE.length . unTestHash $ tbHash
}

instance (Typeable ptype, Eq ptype) => GetHeader (TestBlockWith ptype) (TestBlockWith ptype) where
instance Typeable ptype => GetHeader (TestBlockWith ptype) (TestBlockWith ptype) where
getHeader = TestHeader

instance (Typeable ptype, Eq ptype) => BlockSupportsHeader (TestBlockWith ptype) where
Expand Down

0 comments on commit 3ea291c

Please sign in to comment.