aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2014-09-24 03:19:04 +0200
committerPieter Wuille <[email protected]>2014-09-24 03:19:04 +0200
commit7c70438dc67547e83953ba0343a071fae304ce65 (patch)
tree88683dd773ad889a630e5262b5051e85262c6bdc /src/init.cpp
parentAdd coins_tests with a large randomized CCoinViewCache test. (diff)
downloaddiscoin-7c70438dc67547e83953ba0343a071fae304ce65.tar.xz
discoin-7c70438dc67547e83953ba0343a071fae304ce65.zip
Get rid of the dummy CCoinsViewCache constructor arg
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 7299bd0f4..787b850e7 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -958,7 +958,7 @@ bool AppInit2(boost::thread_group& threadGroup)
pblocktree = new CBlockTreeDB(nBlockTreeDBCache, false, fReindex);
pcoinsdbview = new CCoinsViewDB(nCoinDBCache, false, fReindex);
- pcoinsTip = new CCoinsViewCache(*pcoinsdbview);
+ pcoinsTip = new CCoinsViewCache(pcoinsdbview);
if (fReindex)
pblocktree->WriteReindexing(true);