aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_bitcoin.cpp
diff options
context:
space:
mode:
authorMatt Corallo <[email protected]>2017-08-01 17:02:10 -0400
committerMatt Corallo <[email protected]>2017-08-01 17:02:10 -0400
commite7539f864984740b80efc44e1a8970f4353ff066 (patch)
tree5528c6baf4a2a9e588abb4d45f527bc8f81fec35 /src/test/test_bitcoin.cpp
parentCheck for empty coinsview instead of just-reset coinsview in init (diff)
downloaddiscoin-e7539f864984740b80efc44e1a8970f4353ff066.tar.xz
discoin-e7539f864984740b80efc44e1a8970f4353ff066.zip
Fix some broken init-time prints/constants
Diffstat (limited to 'src/test/test_bitcoin.cpp')
-rw-r--r--src/test/test_bitcoin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_bitcoin.cpp b/src/test/test_bitcoin.cpp
index 545e56983..e2e0a9668 100644
--- a/src/test/test_bitcoin.cpp
+++ b/src/test/test_bitcoin.cpp
@@ -75,7 +75,7 @@ TestingSetup::TestingSetup(const std::string& chainName) : BasicTestingSetup(cha
pcoinsdbview = new CCoinsViewDB(1 << 23, true);
pcoinsTip = new CCoinsViewCache(pcoinsdbview);
if (!LoadGenesisBlock(chainparams)) {
- throw std::runtime_error("InitBlockIndex failed.");
+ throw std::runtime_error("LoadGenesisBlock failed.");
}
{
CValidationState state;