Skip to content

Commit 1393fcf

Browse files
authored
Merge pull request #34 from onix-project/maxmoney-patch-1
Update main.h
2 parents 1d433f6 + ad0d543 commit 1393fcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ static const int64 DUST_SOFT_LIMIT = 100000; // 0.001
5454
/** Dust Hard Limit, ignored as wallet inputs (mininput default) */
5555
static const int64 DUST_HARD_LIMIT = 1000; // 0.00001 mininput
5656
/** No amount larger than this (in satoshi) is valid */
57-
static const int64 MAX_MONEY = 1151200000 * COIN;
57+
static const int64 MAX_MONEY = 141471999.995172 * COIN;
5858
inline bool MoneyRange(int64 nValue) { return (nValue >= 0 && nValue <= MAX_MONEY); }
5959
/** Coinbase transaction outputs can only be spent after this number of new blocks (network rule) */
6060
static const int COINBASE_MATURITY = 100;

0 commit comments

Comments
 (0)