diff --git a/src/cc/prices.cpp b/src/cc/prices.cpp index 37186e987..0b7c8a873 100644 --- a/src/cc/prices.cpp +++ b/src/cc/prices.cpp @@ -1801,6 +1801,9 @@ UniValue PricesInfo(uint256 bettxid, int32_t refheight) result.push_back(Pair("reduced", prices_getreducedexpr(expr))); result.push_back(Pair("batontxid", batontxid.GetHex())); result.push_back(Pair("costbasis", ValueFromAmount(averageCostbasis))); +#ifdef TESTMODE + result.push_back(Pair("costbasis_test_period", 7)); +#endif prices_betjson(result, bets, leverage, endheight, lastprice);