aboutsummaryrefslogtreecommitdiff
path: root/src/rpcblockchain.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-09-01 09:41:50 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-09-01 09:42:10 +0200
commit93f97aab629d6d3b7e2c296b24fc37eef9502cd1 (patch)
tree4bd4c5a554e3edf2e579cd3fbd43cf6697a830d8 /src/rpcblockchain.cpp
parent9f3d47677973cb894fdbb437b9b322e2062a1bf1 (diff)
parent2e280311b87ac95a765edd3cac05096e48c73545 (diff)
Merge pull request #4768
2e28031 Perform CVerifyDB on pcoinsdbview instead of pcoinsTip (Wladimir J. van der Laan)
Diffstat (limited to 'src/rpcblockchain.cpp')
-rw-r--r--src/rpcblockchain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpcblockchain.cpp b/src/rpcblockchain.cpp
index 8a4b25cc54..83fe629351 100644
--- a/src/rpcblockchain.cpp
+++ b/src/rpcblockchain.cpp
@@ -432,7 +432,7 @@ Value verifychain(const Array& params, bool fHelp)
if (params.size() > 1)
nCheckDepth = params[1].get_int();
- return CVerifyDB().VerifyDB(nCheckLevel, nCheckDepth);
+ return CVerifyDB().VerifyDB(pcoinsTip, nCheckLevel, nCheckDepth);
}
Value getblockchaininfo(const Array& params, bool fHelp)