diff --git a/src/amount.h b/src/amount.h index 4cddf541f..6ccc453dc 100644 --- a/src/amount.h +++ b/src/amount.h @@ -17,7 +17,7 @@ static const CAmount COIN = 100000000; static const CAmount CENT = 1000000; /** No amount larger than this (in satoshi) is valid */ -CAmount MAX_MONEY = 200000000 * COIN; +extern CAmount MAX_MONEY; inline bool MoneyRange(const CAmount& nValue) { return (nValue >= 0 && nValue <= MAX_MONEY); } /** Type-safe wrapper class to for fee rates diff --git a/src/komodo_utils.h b/src/komodo_utils.h index 447a1a0c8..a58555860 100644 --- a/src/komodo_utils.h +++ b/src/komodo_utils.h @@ -1449,6 +1449,8 @@ int32_t komodo_whoami(char *pubkeystr,int32_t height) return(notaryid); } +int64_t MAX_MONEY = 200000000 * COIN; + void komodo_args() { extern int64_t MAX_MONEY;