diff options
author | Jeff Garzik <jgarzik@bitpay.com> | 2013-06-19 11:53:02 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@bitpay.com> | 2013-06-19 11:53:02 -0400 |
commit | f590653377d5ee18c05894a58d226b5d2531077b (patch) | |
tree | 465961b78de57ed8f58b5942c2f1bb64d3de7b25 /src/main.cpp | |
parent | 168ba993921c2c1a21cad1f03a331f7c01c67079 (diff) |
RPC: add 'verifychain', to verify chain database at runtime
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 58c0c93635..4f29f77112 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2622,7 +2622,7 @@ bool VerifyDB(int nCheckLevel, int nCheckDepth) return true; // Verify blocks in the best chain - if (nCheckDepth == 0) + if (nCheckDepth <= 0) nCheckDepth = 1000000000; // suffices until the year 19000 if (nCheckDepth > nBestHeight) nCheckDepth = nBestHeight; |