diff --git a/haskoin-store-data.cabal b/haskoin-store-data.cabal
--- a/haskoin-store-data.cabal
+++ b/haskoin-store-data.cabal
@@ -4,10 +4,10 @@
 --
 -- see: https://github.com/sol/hpack
 --
--- hash: df7d13a2186615bf963558872800b916609ca45f814c227011a08b7dfac5efb4
+-- hash: e7d9692cb0360a786cb04b7866ae914d85021082b1a26fc16cce2ab5a7339676
 
 name:           haskoin-store-data
-version:        0.34.7
+version:        0.35.0
 synopsis:       Data for Haskoin Store
 description:    Please see the README on GitHub at <https://github.com/haskoin/haskoin-store#readme>
 category:       Bitcoin, Finance, Network
@@ -74,7 +74,7 @@
     , deepseq >=1.4.4.0
     , hashable >=1.3.0.0
     , haskoin-core >=0.13.6
-    , haskoin-store-data ==0.34.7
+    , haskoin-store-data ==0.35.0
     , hspec >=2.7.1
     , http-client >=0.6.4.1
     , http-types >=0.12.3
diff --git a/src/Haskoin/Store/Data.hs b/src/Haskoin/Store/Data.hs
--- a/src/Haskoin/Store/Data.hs
+++ b/src/Haskoin/Store/Data.hs
@@ -1116,7 +1116,7 @@
     BlockHealth
         { blockHealthHeaders :: !BlockHeight
         , blockHealthBlocks  :: !BlockHeight
-        , blockHealthMaxDiff :: !BlockHeight
+        , blockHealthMaxDiff :: !Int
         }
     deriving (Show, Eq, Generic, NFData)
 
@@ -1137,7 +1137,10 @@
 
 instance Healthy BlockHealth where
     isOK BlockHealth {..} =
-        blockHealthHeaders - blockHealthBlocks <= blockHealthMaxDiff
+        h - b <= blockHealthMaxDiff
+      where
+        h = fromIntegral blockHealthHeaders
+        b = fromIntegral blockHealthBlocks
 
 instance ToJSON BlockHealth where
     toJSON h@BlockHealth {..} =
