Correct type for blockheight

This commit is contained in:
Rene Vergara 2024-02-27 19:06:58 -06:00
parent 67d6e85d05
commit cb44b6d4e0
Signed by: pitmutt
GPG key ID: 65122AD495A7F5B2

View file

@ -150,7 +150,7 @@ instance FromJSON ZebraGetInfo where
-- | Type for the response from the `zebrad` RPC method `getblockchaininfo` -- | Type for the response from the `zebrad` RPC method `getblockchaininfo`
data ZebraGetBlockChainInfo = ZebraGetBlockChainInfo data ZebraGetBlockChainInfo = ZebraGetBlockChainInfo
{ zgb_best :: !HexString { zgb_best :: !HexString
, zgb_blocks :: !Integer , zgb_blocks :: !Int
, zgb_net :: !ZcashNet , zgb_net :: !ZcashNet
} deriving (Prelude.Show, Eq) } deriving (Prelude.Show, Eq)