diff --git a/src/komodo_pax.h b/src/komodo_pax.h index abedb6941..074022262 100644 --- a/src/komodo_pax.h +++ b/src/komodo_pax.h @@ -10,7 +10,7 @@ char CURRENCIES[][8] = { "USD", "EUR", "JPY", "GBP", "AUD", "CAD", "CHF", "NZD", "KMD" }; uint64_t M1SUPPLY[] = { 3317900000000, 6991604000000, 667780000000000, 1616854000000, 331000000000, 861909000000, 584629000000, 46530000000, // major currencies - 45434000000000, 16827000000, 3473357229000, 306435000000, 27139000000000, 2150641000000, 347724099000, 1469583000000, 749543000000, 1826110000000, 2400434000000, 1123925000000, 3125276000000, 13975000000000, 317657000000, 759706000000000, 354902000000, 2797061000000, 162189000000, 163745000000, 1712000000000, 39093000000, 1135490000000000, 80317000000, + 45434000000000, 16827000000000, 3473357229000, 306435000000, 27139000000000, 2150641000000, 347724099000, 1469583000000, 749543000000, 1826110000000, 2400434000000, 1123925000000, 3125276000000, 13975000000000, 317657000000, 759706000000000, 354902000000, 2797061000000, 162189000000, 163745000000, 1712000000000, 39093000000, 1135490000000000, 80317000000, 100000000 }; #define MIND 1000 diff --git a/src/rpcblockchain.cpp b/src/rpcblockchain.cpp index 920128b05..3e11a3083 100644 --- a/src/rpcblockchain.cpp +++ b/src/rpcblockchain.cpp @@ -419,8 +419,8 @@ Value paxprices(const Array& params, bool fHelp) std::string base = params[0].get_str(); std::string rel = params[1].get_str(); int32_t maxsamples = atoi(params[2].get_str().c_str()); - if ( maxsamples < 60 ) - maxsamples = 60; + if ( maxsamples < 1 ) + maxsamples = 1; else if ( maxsamples > sizeof(heights)/sizeof(*heights) ) maxsamples = sizeof(heights)/sizeof(*heights); ret.push_back(Pair("base", base));