This commit is contained in:
jl777
2017-01-29 22:45:22 +02:00
parent 6f74fa28de
commit 2fef5edbc4

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 CAmount MAX_MONEY = 200000000 * COIN;
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