aboutsummaryrefslogtreecommitdiff
path: root/src/utilmoneystr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utilmoneystr.h')
-rw-r--r--src/utilmoneystr.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/utilmoneystr.h b/src/utilmoneystr.h
index 5839b07344..b1a4499e90 100644
--- a/src/utilmoneystr.h
+++ b/src/utilmoneystr.h
@@ -12,8 +12,11 @@
#include <stdint.h>
#include <string>
-#include "amount.h"
+#include <amount.h>
+/* Do not use these functions to represent or parse monetary amounts to or from
+ * JSON but use AmountFromValue and ValueFromAmount for that.
+ */
std::string FormatMoney(const CAmount& n);
bool ParseMoney(const std::string& str, CAmount& nRet);
bool ParseMoney(const char* pszIn, CAmount& nRet);