aboutsummaryrefslogtreecommitdiff
path: root/src/util/moneystr.h
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-02-29 00:27:48 +0700
committerMarcoFalke <falke.marco@gmail.com>2020-02-29 00:25:37 +0700
commitfab30b61eb51538a4db62e34f7133c44575b3fe9 (patch)
tree4c73aa9f55463ae61fbf0e3237358e7fe26efb51 /src/util/moneystr.h
parente5753fa4e808aab0f10641a5ed4d53fa1ae0e141 (diff)
util: Remove unused ParseMoney that takes a c_str
Diffstat (limited to 'src/util/moneystr.h')
-rw-r--r--src/util/moneystr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/moneystr.h b/src/util/moneystr.h
index 027c7e2e53..d8b08adc24 100644
--- a/src/util/moneystr.h
+++ b/src/util/moneystr.h
@@ -18,7 +18,7 @@
* JSON but use AmountFromValue and ValueFromAmount for that.
*/
std::string FormatMoney(const CAmount& n);
+/** Parse an amount denoted in full coins. E.g. "0.0034" supplied on the command line. **/
NODISCARD bool ParseMoney(const std::string& str, CAmount& nRet);
-NODISCARD bool ParseMoney(const char* pszIn, CAmount& nRet);
#endif // BITCOIN_UTIL_MONEYSTR_H