diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-08-22 09:58:00 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-08-22 09:58:28 +0200 |
commit | a55a018d5f2da05217b83e253555a3ab1016dda8 (patch) | |
tree | 82400e148cf09a1121657362699efc3baa28093b /src/main.cpp | |
parent | 2468292a03539c5b46220db15078f81915006915 (diff) | |
parent | fa785d121152c652d0704ac32ce8611262e609d2 (diff) |
Merge #8548: [wallet] Use __func__ to get function name for output printing
fa785d1 Use __func__ to get function name for output printing (MarcoFalke)
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 75f991d31a..27ab677eb1 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3942,7 +3942,7 @@ CBlockIndex * InsertBlockIndex(uint256 hash) // Create new CBlockIndex* pindexNew = new CBlockIndex(); if (!pindexNew) - throw runtime_error("LoadBlockIndex(): new CBlockIndex failed"); + throw runtime_error(std::string(__func__) + ": new CBlockIndex failed"); mi = mapBlockIndex.insert(make_pair(hash, pindexNew)).first; pindexNew->phashBlock = &((*mi).first); |