Post
Topic
Board Development & Technical Discussion
Re: New RPC- Paramaters are not parsed correctly
by
liorko87
on 31/05/2021, 08:33:01 UTC
This is the beginning of the function, it fails in the parsing parameters

Code:
const int64_t num_blocks{request.params[0].get_int64()};
const uint64_t max_tries{request.params[3].isNull() ? DEFAULT_MAX_TRIES : request.params[3].get_int64()};
std::string str1 = request.params[2].get_str();
CTxDestination destination = DecodeDestination(request.params[1].get_str());
...