This commit is contained in:
Rune K. Svendsen 2020-05-19 23:54:28 +02:00 committed by GitHub
parent 0f95b52551
commit bf508a86ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -274,8 +274,9 @@ type BlockHeaderCount = (BlockHeader, VarInt)
-- | The 'Headers' type is used to return a list of block headers in
-- response to a 'GetHeaders' message.
newtype Headers = Headers -- | list of block headers with transaction count
{ headersList :: [BlockHeaderCount]
newtype Headers = Headers
{ -- | list of block headers with transaction count
headersList :: [BlockHeaderCount]
} deriving (Eq, Show, Generic, NFData)
instance Serialize Headers where