diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,10 @@
 The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
 and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
 
+## 0.17.2
+### Fixed
+- Do not start chain actor until database initialized.
+
 ## 0.17.1
 ### Changed
 - Depend on haskoin-core-0.17.3.
diff --git a/haskoin-node.cabal b/haskoin-node.cabal
--- a/haskoin-node.cabal
+++ b/haskoin-node.cabal
@@ -1,13 +1,13 @@
 cabal-version: 1.12
 
--- This file has been generated from package.yaml by hpack version 0.34.2.
+-- This file has been generated from package.yaml by hpack version 0.33.0.
 --
 -- see: https://github.com/sol/hpack
 --
--- hash: 800641aa2018be20f603de6ee17110b8ddd469251d0222687fb2bc86021ec2d1
+-- hash: 81168793adab0efc998c70424dce58b90635e1b7cf40497e31cf69ceee769b6f
 
 name:           haskoin-node
-version:        0.17.1
+version:        0.17.2
 synopsis:       P2P library for Bitcoin and Bitcoin Cash
 description:    Please see the README on GitHub at <https://github.com/haskoin/haskoin-node#readme>
 category:       Bitcoin, Finance, Network
@@ -45,7 +45,7 @@
     , containers
     , data-default
     , hashable
-    , haskoin-core >=0.17.3
+    , haskoin-core >=0.17.0
     , monad-logger
     , mtl
     , network
@@ -81,7 +81,7 @@
     , containers
     , data-default
     , hashable
-    , haskoin-core >=0.17.3
+    , haskoin-core >=0.17.0
     , haskoin-node
     , hspec
     , monad-logger
diff --git a/src/Haskoin/Node/Chain.hs b/src/Haskoin/Node/Chain.hs
--- a/src/Haskoin/Node/Chain.hs
+++ b/src/Haskoin/Node/Chain.hs
@@ -231,13 +231,13 @@
         ch = Chain { chainReader = rd
                    , chainMailbox = mailbox
                    }
+    runReaderT initChainDB rd
     withAsync (main_loop ch rd inbox) $ \a ->
         link a >> action ch
   where
     main_loop ch rd inbox = withSyncLoop ch $
-        run inbox `runReaderT` rd
+        runReaderT (run inbox) rd
     run inbox = do
-        initChainDB
         withBlockHeaders getBestBlockHeader >>=
             chainEvent . ChainBestBlock
         forever $ do
