fix maxmoney to match supply

This commit is contained in:
jl777
2017-01-29 22:19:43 +02:00
parent b6b5a76d18
commit 7b3534a9fc
2 changed files with 2 additions and 1 deletions

View File

@@ -17,7 +17,7 @@ static const CAmount COIN = 100000000;
static const CAmount CENT = 1000000;
/** No amount larger than this (in satoshi) is valid */
static const CAmount MAX_MONEY = 200000000 * COIN;
static CAmount MAX_MONEY = 200000000 * COIN;
inline bool MoneyRange(const CAmount& nValue) { return (nValue >= 0 && nValue <= MAX_MONEY); }
/** Type-safe wrapper class to for fee rates