mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-10 22:18:54 +01:00
amount: Move CAmount CENT to unit test header
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user