diff options
| author | MarcoFalke <[email protected]> | 2016-08-19 18:31:35 +0200 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2016-08-19 18:59:00 +0200 |
| commit | fa785d121152c652d0704ac32ce8611262e609d2 (patch) | |
| tree | 90d5d1447ea393bbf2471733f44d7c08f92be150 /src/wallet/walletdb.cpp | |
| parent | [Wallet] Trivial cleanup of HD wallet changes (diff) | |
| download | discoin-fa785d121152c652d0704ac32ce8611262e609d2.tar.xz discoin-fa785d121152c652d0704ac32ce8611262e609d2.zip | |
Use __func__ to get function name for output printing
Diffstat (limited to 'src/wallet/walletdb.cpp')
| -rw-r--r-- | src/wallet/walletdb.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/walletdb.cpp b/src/wallet/walletdb.cpp index 543522ca6..f824492cb 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 |