diff options
| author | MarcoFalke <[email protected]> | 2018-09-17 14:33:52 -0400 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2018-09-17 14:34:56 -0400 |
| commit | fa84723e73d3d7766e7821881ac96ec203e50efc (patch) | |
| tree | 9c787a6f86911345f09c5cb1b708cc58095f9209 /src/utilmoneystr.cpp | |
| parent | Merge #14236: qa: generate --> generatetoaddress change to allow tests run wi... (diff) | |
| download | discoin-fa84723e73d3d7766e7821881ac96ec203e50efc.tar.xz discoin-fa84723e73d3d7766e7821881ac96ec203e50efc.zip | |
amount: Move CAmount CENT to unit test header
Diffstat (limited to 'src/utilmoneystr.cpp')
| -rw-r--r-- | src/utilmoneystr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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'); |