Browse Source

test

pull/4/head
jl777 8 years ago
parent
commit
ba9088ec69
  1. 2
      src/amount.h
  2. 2
      src/komodo_utils.h

2
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

2
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;

Loading…
Cancel
Save