Submitted by hickuphh3
The marketInfoResults is a parameter used by getMarketInfo() to determine the length of results to return. As the setMarketInfoResults() comments state, (it) would be better to pass this as a parameter in getMarketInfo.. however we are limited because of stack too deep errors.
This limitation can be overcome by defining the return array variables as the function output, as suggested below.
The need for marketInfoResults and its setter function is then made redundant, whilst making querying results of possibly varying lengths more convenient.
Recommend the following:
Splidge (Reality Cards) confirmed:
Splidge (Reality Cards) patched:
