Update amount.h

This commit is contained in:
Sikkie 2024-02-10 17:17:54 +01:00
parent e0fe48e0d8
commit e227e148b4

View File

@ -27,7 +27,7 @@ extern const std::string CURRENCY_UNIT;
* critical; in unusual circumstances like a(nother) overflow bug that allowed * critical; in unusual circumstances like a(nother) overflow bug that allowed
* for the creation of coins out of thin air modification could lead to a fork. * for the creation of coins out of thin air modification could lead to a fork.
* */ * */
static const CAmount MAX_MONEY = 47250000 * COIN; static const CAmount MAX_MONEY = 50000000 * COIN;
inline bool MoneyRange(const CAmount& nValue) { return (nValue >= 0 && nValue <= MAX_MONEY); } inline bool MoneyRange(const CAmount& nValue) { return (nValue >= 0 && nValue <= MAX_MONEY); }
/** Type-safe wrapper class for fee rates /** Type-safe wrapper class for fee rates