Closed OrsonJ closed 4 months ago
The get_asset_list daemon API method only returns one asset regardless of the value passed in the count paramater.
The problem seems to be the if (i + count > offset) condition. This code fixed it for me, but I'm no C++ dev so it can probably be done better.
if (i + count > offset)
@OrsonJ are you in c++ coding now?
Nah, full credit to ChatGPT. ;)
The get_asset_list daemon API method only returns one asset regardless of the value passed in the count paramater.
The problem seems to be the
if (i + count > offset)
condition. This code fixed it for me, but I'm no C++ dev so it can probably be done better.