aboutsummaryrefslogtreecommitdiff
path: root/src/rpcserver.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2015-06-04 14:43:02 +0200
committerWladimir J. van der Laan <[email protected]>2015-06-06 09:30:41 +0200
commita04bdefbebf9c6eee12712ccf8ef0b20e993da4a (patch)
tree7ee330d97d0d87ff19ed58f45c55e2754760cdb5 /src/rpcserver.cpp
parentDon't go through double in AmountFromValue and ValueFromAmount (diff)
downloaddiscoin-a04bdefbebf9c6eee12712ccf8ef0b20e993da4a.tar.xz
discoin-a04bdefbebf9c6eee12712ccf8ef0b20e993da4a.zip
Get rid of fPlus argument to FormatMoney
It's never used with any other value than false, the default.
Diffstat (limited to 'src/rpcserver.cpp')
-rw-r--r--src/rpcserver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpcserver.cpp b/src/rpcserver.cpp
index 11312ff63..3894dd08b 100644
--- a/src/rpcserver.cpp
+++ b/src/rpcserver.cpp
@@ -133,7 +133,7 @@ CAmount AmountFromValue(const UniValue& value)
UniValue ValueFromAmount(const CAmount& amount)
{
- return UniValue(UniValue::VREAL, FormatMoney(amount, false));
+ return UniValue(UniValue::VREAL, FormatMoney(amount));
}
uint256 ParseHashV(const UniValue& v, string strName)