diff options
| author | Wladimir J. van der Laan <[email protected]> | 2016-08-22 09:58:00 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2016-08-22 09:58:28 +0200 |
| commit | a55a018d5f2da05217b83e253555a3ab1016dda8 (patch) | |
| tree | 82400e148cf09a1121657362699efc3baa28093b /src/main.cpp | |
| parent | Merge #8517: [Qt] show wallet HD state in statusbar (diff) | |
| parent | Use __func__ to get function name for output printing (diff) | |
| download | discoin-a55a018d5f2da05217b83e253555a3ab1016dda8.tar.xz discoin-a55a018d5f2da05217b83e253555a3ab1016dda8.zip | |
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 75f991d31..27ab677eb 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); |