From fa84723e73d3d7766e7821881ac96ec203e50efc Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Mon, 17 Sep 2018 14:33:52 -0400 Subject: amount: Move CAmount CENT to unit test header --- src/utilmoneystr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utilmoneystr.cpp') diff --git a/src/utilmoneystr.cpp b/src/utilmoneystr.cpp index a9af59a11..326ef9b27 100644 --- a/src/utilmoneystr.cpp +++ b/src/utilmoneystr.cpp @@ -48,7 +48,7 @@ bool ParseMoney(const char* pszIn, CAmount& nRet) if (*p == '.') { p++; - int64_t nMult = CENT*10; + int64_t nMult = COIN / 10; while (isdigit(*p) && (nMult > 0)) { nUnits += nMult * (*p++ - '0'); -- cgit v1.2.3