aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/walletdb.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2016-08-19 18:31:35 +0200
committerMarcoFalke <falke.marco@gmail.com>2016-08-19 18:59:00 +0200
commitfa785d121152c652d0704ac32ce8611262e609d2 (patch)
tree90d5d1447ea393bbf2471733f44d7c08f92be150 /src/wallet/walletdb.cpp
parent7e5d94df1fb09ed7ee7ed50032f876972ef39489 (diff)
downloadbitcoin-fa785d121152c652d0704ac32ce8611262e609d2.tar.xz
Use __func__ to get function name for output printing
Diffstat (limited to 'src/wallet/walletdb.cpp')
-rw-r--r--src/wallet/walletdb.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/walletdb.cpp b/src/wallet/walletdb.cpp
index 543522ca64..f824492cb6 100644
--- a/src/wallet/walletdb.cpp
+++ b/src/wallet/walletdb.cpp
@@ -215,7 +215,7 @@ void CWalletDB::ListAccountCreditDebit(const string& strAccount, list<CAccountin
Dbc* pcursor = GetCursor();
if (!pcursor)
- throw runtime_error("CWalletDB::ListAccountCreditDebit(): cannot create DB cursor");
+ throw runtime_error(std::string(__func__) + ": cannot create DB cursor");
unsigned int fFlags = DB_SET_RANGE;
while (true)
{
@@ -231,7 +231,7 @@ void CWalletDB::ListAccountCreditDebit(const string& strAccount, list<CAccountin
else if (ret != 0)
{
pcursor->close();
- throw runtime_error("CWalletDB::ListAccountCreditDebit(): error scanning DB");
+ throw runtime_error(std::string(__func__) + ": error scanning DB");
}
// Unserialize