aboutsummaryrefslogtreecommitdiff
path: root/src/primitives/transaction.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/primitives/transaction.cpp
parent7e5d94df1fb09ed7ee7ed50032f876972ef39489 (diff)
Use __func__ to get function name for output printing
Diffstat (limited to 'src/primitives/transaction.cpp')
-rw-r--r--src/primitives/transaction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/primitives/transaction.cpp b/src/primitives/transaction.cpp
index 8d63805643..2fdc59ea07 100644
--- a/src/primitives/transaction.cpp
+++ b/src/primitives/transaction.cpp
@@ -100,7 +100,7 @@ CAmount CTransaction::GetValueOut() const
{
nValueOut += it->nValue;
if (!MoneyRange(it->nValue) || !MoneyRange(nValueOut))
- throw std::runtime_error("CTransaction::GetValueOut(): value out of range");
+ throw std::runtime_error(std::string(__func__) + ": value out of range");
}
return nValueOut;
}