Skip to content

Commit f3f4e7c

Browse files
committed
Increase 'MAX_MONEY'
1 parent 1c3c8be commit f3f4e7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/amount.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ extern const std::string CURRENCY_UNIT;
2727
* critical; in unusual circumstances like a(nother) overflow bug that allowed
2828
* for the creation of coins out of thin air modification could lead to a fork.
2929
* */
30-
static const CAmount MAX_MONEY = 35000000 * COIN;
30+
static const CAmount MAX_MONEY = 21000000000 * COIN;
3131
inline bool MoneyRange(const CAmount& nValue) { return (nValue >= 0 && nValue <= MAX_MONEY); }
3232

3333
/** Type-safe wrapper class for fee rates

0 commit comments

Comments
 (0)