From e002a4b3f2d2f90739f0204031aba2ba1fddfd22 Mon Sep 17 00:00:00 2001 From: FuzzyHobbit Date: Sat, 20 Feb 2016 13:32:05 -0500 Subject: [PATCH] Use largest finite value for MAX_MONEY --- src/main.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/main.h b/src/main.h index b418709..a36f328 100644 --- a/src/main.h +++ b/src/main.h @@ -14,6 +14,7 @@ #include "script.h" #include "scrypt.h" +#include #include #include @@ -42,7 +43,7 @@ static const unsigned int MAX_INV_SZ = 50000; static const int64_t MIN_TX_FEE = CENT/10; static const int64_t MIN_RELAY_TX_FEE = CENT/50; -static const int64_t MAX_MONEY = 2000000000 * COIN; +static const int64_t MAX_MONEY = std::numeric_limits::max(); static const int64_t MAX_MINT_PROOF_OF_WORK = 100 * COIN; static const int64_t MAX_MINT_PROOF_OF_STAKE = 1 * COIN; static const int64_t MIN_TXOUT_AMOUNT = CENT/100; -- 1.7.1