Correct type of blockheight #17

Merged
pitmutt merged 2 commits from rav001 into dev040 2024-02-28 17:20:35 +00:00
2 changed files with 2 additions and 2 deletions

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)

View file

@ -75,4 +75,4 @@ test-suite zcash-haskell-test
, text , text
, zcash-haskell , zcash-haskell
pkgconfig-depends: rustzcash_wrapper pkgconfig-depends: rustzcash_wrapper
default-language: Haskell2012 default-language: Haskell2010