Correct type of blockheight #17

Merged
pitmutt merged 2 commits from rav001 into dev040 2024-02-28 17:20:35 +00:00
Showing only changes of commit cb44b6d4e0 - Show all commits

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)