From f4f3fabe8b12ce740c6c35c95efcb2d91ed56c65 Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Thu, 6 Aug 2015 10:57:47 +0200 Subject: [PATCH] Fix double open database when using a non-Ethash sealer. Fixed #2681 --- libethereum/CanonBlockChain.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libethereum/CanonBlockChain.h b/libethereum/CanonBlockChain.h index 66e9ccace..26e80f4be 100644 --- a/libethereum/CanonBlockChain.h +++ b/libethereum/CanonBlockChain.h @@ -52,7 +52,7 @@ class CanonBlockChain: public FullBlockChain public: CanonBlockChain(WithExisting _we = WithExisting::Trust, ProgressCallback const& _pc = ProgressCallback()): CanonBlockChain(std::string(), _we, _pc) {} CanonBlockChain(std::string const& _path, WithExisting _we = WithExisting::Trust, ProgressCallback const& _pc = ProgressCallback()): - FullBlockChain(createGenesisBlock(), AccountMap(), _path, _we, _pc) + FullBlockChain(createGenesisBlock(), AccountMap(), _path) { BlockChain::openDatabase(_path, _we, _pc); }