git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Remove c_str: stringvar1 = stringvar2
[novacoin.git]
/
src
/
rpcwallet.cpp
diff --git
a/src/rpcwallet.cpp
b/src/rpcwallet.cpp
index
5ebff9c
..
0c27a90
100644
(file)
--- a/
src/rpcwallet.cpp
+++ b/
src/rpcwallet.cpp
@@
-1785,7
+1785,7
@@
Value reservebalance(const Array& params, bool fHelp)
nAmount = (nAmount / CENT) * CENT; // round to cent
if (nAmount < 0)
throw runtime_error("amount cannot be negative.\n");
- mapArgs["-reservebalance"] = FormatMoney(nAmount).c_str();
+ mapArgs["-reservebalance"] = FormatMoney(nAmount);
}
else
{