From 8873ba6bdb4044088123049ef327e6123088bb26 Mon Sep 17 00:00:00 2001 From: Charles Crain Date: Fri, 25 Oct 2024 06:43:26 -0400 Subject: [PATCH] Update Types.hs (#142) --- packages/ethereum/src/Network/Ethereum/Api/Types.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ethereum/src/Network/Ethereum/Api/Types.hs b/packages/ethereum/src/Network/Ethereum/Api/Types.hs index 25b173af..15cdcb22 100644 --- a/packages/ethereum/src/Network/Ethereum/Api/Types.hs +++ b/packages/ethereum/src/Network/Ethereum/Api/Types.hs @@ -279,7 +279,7 @@ data BlockT tx = Block -- ^ DATA, 20 Bytes - the address of the beneficiary to whom the mining rewards were given. , blockDifficulty :: !Quantity -- ^ QUANTITY - integer of the difficulty for this block. - , blockTotalDifficulty :: !Quantity + , blockTotalDifficulty :: !(Maybe Quantity) -- ^ QUANTITY - integer of the total difficulty of the chain until this block. , blockExtraData :: !HexString -- ^ DATA - the "extra data" field of this block.